The tag is for questions related to user authentication (login) as well as modules affecting user authentication.

learn more… | top users | synonyms (1)

0
votes
3answers
67 views

Every user is logged in as admin user

I have a weird problem with my new Drupal 7 site. This is also my first Drupal site. I have now two users: admin1 (has admin rights) & user1 at first, when I logged with admin1, everything was ...
0
votes
1answer
34 views

Not able to log in to Drupal site as other user

I am a site admin (Drupal 7 - all updates are current) and am able to log in with my own credentials. I'm working an issue and need to log in as another non-admin user. No matter what I try, I'm not ...
1
vote
1answer
22 views

Is it possible to provide logins based on purchases?

There shall be an online shop with drupal commerce. It is required that a visitor can buy a digital product, i.e. a ticket with a barcode that he can print out. The visitor shall not be able to create ...
0
votes
4answers
38 views

How can I redirect users on login with PHP?

With Drupal 7, I'm trying to redirect users with certain roles to different pages on login. Sample code is below: function MYMODULE_user_login(&$edit, $account) { // Allow users to reset their ...
0
votes
2answers
33 views

Cannot login to my Drupal site [duplicate]

A while back I made a site for our Operettic society in Holland, after a while I transferred the maintenance to another person who came just recently back at me with a problem. The site is stuck in ...
1
vote
2answers
22 views

How to display the 'Request New Password' page for Administrators.

What I'd like to do is have the exact same page as /user/password (when not logged in) that the 'Administrator' Role could use and send out emails to existing users. However when logged in you get ...
0
votes
1answer
16 views

Force Users to always login and show no content

I am using Drupal 7.31, and I installed the MD Alpine Theme, which I can get support for, but I figured I would ask here as well. I have a site, and it loads a video on the front-page, I want to hide ...
1
vote
2answers
15 views

Reset frontpage after changing it to user

I wanted my drupal site content to only be accessed by users who login. I have a front-page which works fine: "mysite.com/" I want users to be re-directed to: "mysite.com/user" or ...
0
votes
1answer
21 views

User Login block missing

It vanishes suddenly without any notifications today. I am using Drupal 7 with "Mix and Match" theme. I used to working this morning. Website shows no error at all. I have tried the following to get ...
0
votes
0answers
10 views

Override login form submisssion

I try to call a SOAP web service before an users authentication. I've try this function beneficiaire_user_login(&$edit, $account){ die('hello from login override'); } Unfortunately, if my ...
0
votes
0answers
14 views

Unable to login / Warning: array_flip(): Can only flip STRING and INTEGER values!

My site has completely become unusable as it's not allowing users to log in into the site. The problem happened when I truncated the accesslog, login activity tables from the database. Later I ...
-1
votes
1answer
21 views

How do I log in as a different user when there isn't a login link on the front page?

I created a user with limited rights and logged in as that user. Now I have discovered that I have not placed a login module on the front page. How do I log back in as administrator?
0
votes
0answers
22 views

How to block IP/user of failed login when user account is not active?

There are several topic for this issues and lot of module out there to control this scenario but my concern is only about non-authenticated user who are registered but not verified their email. By ...
2
votes
3answers
99 views

Can't log in to Drupal websites after upgrading to OSX Yosemite

I have just upgraded my local machine to OSX Yosemite which has changed my Apache version from 2.2 to 2.4 and my PHP version from 5.4 to 5.5. When I visit both example.dev/user and ...
0
votes
1answer
21 views

Is it possible to display user's first login (activation) date in a view?

All the users are imported (only admin can create accounts), they receive an activation email to connect with a one-time login. What I would like to know is how to display the date when they actually ...
0
votes
0answers
8 views

LoginToBoggan & OneAll Social Login: one-time-login token email sent withoud need

When you have installed LoginToBoggan AND the OneAll Social Login modules (to enable login via Facebook, Google etc.) - they seem to work not nicely together. LoginToBoggan provides a nice ...
2
votes
1answer
25 views

Login 403. Hit with SA-CORE-2014-005

I don't know why, but I can't find a straight answer to this anywhere. I have a site that was by the vulnerability patched by SA-CORE-2014-005. I went into the database and deleted the user and ...
0
votes
0answers
10 views

Drupal form placeholder [duplicate]

I made a form using the custom module "homepage_userlogin". I want a placeholder in my form. The code of the custom module is: <?php function homepage_userlogin_form($form_state){ $form = ...
0
votes
2answers
60 views

Twitter not working on HybridAuth

I have uploaded the website on pantheon. Users aren't able to login by using twitter provider on my website. I'm using the HybridAuth module. When I try to login, it shows this error Fatal error: ...
0
votes
5answers
68 views

how to validate email id is already register or not

function lawyer_register_form_submit($form,&$form_state) { $mail = $form_state['values']['mail']; $new_password = user_password(); $edit = array( 'name' => $form_state['values']['name'], ...
0
votes
1answer
305 views

Accessing Login page shows You are not authorized to access this page

Till about an hour ago my Drupal 7 site was working fine. But now when I access the login page (/user) I get an You are not authorized to access this page So I checked the node_access table and I see ...
1
vote
2answers
46 views

how to insert records in different table

function lawyer_register_form($form,&$form_submit) { $form = array(); $form['name'] = array( '#title' => 'Username', '#description' => 'choose a username', '#type' => ...
0
votes
1answer
26 views

How to handle multiple stores and multiple store admin users - Drupal commerce

Is it possible to create a restaurant(multi-store) online delivery system using Drupal commerce and OG? It has multiple stores(restaurants) in different locations which can be manageable by individual ...
1
vote
2answers
53 views

How do I modify and then render the Drupal login form in a page template in Drupal 7?

I'm working on building a custom Drupal 7 theme using bootstrap. One of the things I want to achieve is a login form that is part of the standard page template, rather than sitting alone on its own ...
0
votes
1answer
24 views

Limited permissions for users logged in with facebook and twitter

I would like to know if there's a way to allow people to log in into my Drupal site with limited permissions with their Facebook or Twitter account. I have created a website which allows ...
0
votes
1answer
25 views

Rules token one-time-login-url is showing up empty

I have a rule that, after submitting a webform, a user gets created and then sends two emails to that user. One saying their form data is being looked at by someone for review before they get a ...
-1
votes
1answer
24 views

can any one tell me steps to use ajax-register module

can any one please tell me the steps to use ajax-register module for user login, user registration and change password in drupal 7. which display user registration, user login, forget password forms ...
-1
votes
1answer
24 views

How to create and hide user login link in drupal 7?

Hello everyone I am new to drupal, I want to know the steps to create user-login link in menu bar and after user-login this link should be convert into logout link. Can any one help me ?
0
votes
1answer
14 views

logintoboggon and user registration password to allow users register with password and email verification at the same time

Im using logintoboggon module to enrich account functionalities, in its settings there is a field "set password", if not checked anonymos users can't choose their passwords in registration form and by ...
0
votes
1answer
151 views

How to send password in email body

function lawyer_register_menu() { $items['lawyer_register'] = array( 'title' => 'Lawyer Registration', 'page callback' => 'drupal_get_form', 'page arguments' => array( ...
1
vote
2answers
38 views

After migration the login form no longer submits, why?

I have been working on a Drupal 7 site on localhost (via WAMP) for some time now. Recently I wanted to migrate this website onto a new machine and continue working on it there. The steps I took: I ...
0
votes
2answers
34 views

Different redirect page for registration, login and first time login

Im trying to redirect the user to different pages on login, first-time login and registration. I used the Login Destination module but it only has the option to redirect the user to one page on ...
1
vote
0answers
29 views

Help with form select options and sorting of values

I have altered the log-in form to my client's specification and I'm having problems with the display and sorting. As you can see, I have a select list called Organization. That is the Username Text ...
0
votes
1answer
20 views

FontAwesome character added via CSS only appears when logged in

I'm pretty new to Drupal and CSS; I'm stumped with this issue. I have a FontAwesome camera character that I've written to appear before my caption div in Flexslider. Here's what I have: ...
4
votes
1answer
273 views

No one can login and access denied message

The site worked till yesterday and just now it's behaving strangely. The site is not created with features, an archive dump including the code and database is copied to server, and the old ...
0
votes
0answers
19 views

If user log in to root site, automatically log in to sub directory

I have a main site where users will register using only their work email address and a password of their choice (the site serves as a kind of intranet). This works so far. Now, there's a 3rd party ...
0
votes
1answer
21 views

using hook_form_alter on a same form from 2 different modules

How will a predefined form behave if we have two different forms that implement hook_form_alter? I would explain my question by an example, because currently I got a crash on it: I have a predefined ...
0
votes
1answer
30 views

unique user name but duplicate password

I'm having a developer work on a site for me. I'm being told that each user must have a unique username. That makes sense. I'm also told that they all need to have a unique password. This doesn't ...
0
votes
0answers
17 views

Modifying Drupal Login Process

Is it possible to modify drupal's login process into something like 2 steps login? Let's say 2 different step to login. 1st step will be a Dropdown List of Roles e.g Editor, Writers, Admins. 2nd ...
0
votes
1answer
26 views

How to get specific fields in the login form

I'm trying to customize the login form. I added this to my template.php function neptune_theme() { $items = array(); $items['user_login'] = array( 'render element' => 'form', 'path' ...
0
votes
2answers
35 views

Registration and Login form having different styles

I'm trying to style the login and registration form in different styles in my drupal 7 website. By default they share the same styles. Is there any way to change that?
0
votes
1answer
19 views

Drupal automagically changing password hash [duplicate]

This issue happened on my localhost machine while in development but I thought nothing of it since I had multiple drupal projects and was jumping to one another constantly - I figure it was cookies ...
0
votes
0answers
24 views

Override login form style

How do I style the login form in the zen sub-theme neptune. I'm kind of confused if I'm supposed to override the css styles. I'm not able to figure out how to change the login form wrapper div and the ...
0
votes
1answer
42 views

Add and customize login block on page.tpl

I'm trying to add the user login block in my page.tpl file. I've tried inserting the following code but the only thing I see is the username, password and submit fields. The "Register" and "Forgot ...
0
votes
1answer
28 views

Customize login block's position in page.tpl

I'm trying to position my login block in my page.tpl file. Everytime I insert the code <?php print drupal_render(drupal_get_form('user_login')); ?> in my page.tpl file. It throws an error. ...
0
votes
0answers
17 views

Permanent login form in header

I'm trying to create a login form which remains permanent in the header and doesn't go away once the user signs in. This is what my header looks like in page.tpl.php <div id="page"> ...
3
votes
2answers
211 views

Sorry, unrecognized username or password error after successful login

In user_login block form alter I'm attaching a validator : ws_res_auth_authenticate ( the last one in the dsm output below) and logging in a user using this code: user_login_submit(array(), ...
0
votes
1answer
57 views

login programmatically with remember me feature

I'm trying to create a custom login form, since I need it to be ajax based. And I can't use the existing modules that do this. So far I have achieved this by setting the global $user object to the ...
1
vote
2answers
85 views

drupal /?q=user is working but /user not working

I have recently moved my files from dev server to test server. same setting and db of dev server were copied to test server. In dev server all is working fine but when I have am checking in test sever ...
0
votes
1answer
52 views

Change Login Form:Username to Select Text

Is it possible to change the login form? Specifically the Textbox for username to select text? Let's say I have 4 users named: User1,User2,User3,User4 and when select text is clicked. All users will ...