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
0answers
33 views

Multi step login form

In our Drupal 7 site we have a requirement that for certain users we need two step authentication. Step 1 : Drupal login Step 2 : OTP I can create a custom two step form like OTP module but the ...
1
vote
1answer
40 views

Access denied after installation

I've completed installation without error messages, but when I visit the site and attempt to log in, I can't, and I don't receive e-mails sent to reset the password. Here are the details: Using ...
1
vote
1answer
18 views

New User OpenID identities in Drupal 7

Scenario: Drupal 7 site recently migrated from Drupal 6. Using OpenID connect module. All users login with Google, using a Google account with a company domain name. (user@company.com). All users ...
0
votes
1answer
14 views

Login error: call to undefined function entity_load in User module [closed]

I’m new to Drupal and I have a problem where no users can login (HTTP 500 and WSOD on POST of valid credentials, Drupal 7). The error message is: “E_ERROR Error in file »user.module« at line 291: ...
3
votes
0answers
49 views

Is it possible to show password reset email success in user password page in Drupal 7

I am completely exhausted trying to find out a solution for this simple problem. I am intending to put a "Forgot Password" in my Drupal site and wants a confirmation when the form emails the password ...
1
vote
0answers
32 views

Login by phone or email along with Username

There is a requirement to provide login option with all the following: username, email and phone. I understand LoginToboggan provides the capability to login with email or username. I am looking to ...
1
vote
1answer
37 views

Login programmatically using ajax

I have a button in my custom module function sign_up_form_user_register_form_alter(&$form, &$form_state, $form_id) { $form['captcha']['#suffix'] ='<input type="button" id="test" ...
0
votes
1answer
19 views

Drupal 7 Services module user register and login test

I am trying to register and login users via services module in a Drupal based site. Versions I am using: Services 7.0-3.11 Drupal 7.36 The endpoints for this service is shown in the below code. ...
0
votes
1answer
24 views

Can not login with HybridAuth

I installed Drupal HybridAuth module on my site for social authentication. I configured this module and it is displaying fine on site block. But when I try to login with any Social Media account ...
1
vote
1answer
17 views

How to reroute a logged in user after page access denied at user/login in Drupal 6?

My Drupal 6 site has the login form at /user/login. If I'm logged in already and I click it, I'm sent to the Access Denied page (though the login URL stays the same). I'd like to send such users ...
0
votes
2answers
23 views

Clean URLs work*, but not when I submit forms?

I have a local dev site configured (Ubuntu 14.04.1 LTS), and I copied a production website to play with there. Everything appears to work great. Clean URLs seem to work and I can navigate the site. ...
0
votes
0answers
22 views

Drupal 7 Session -

I have a drupal 7 website. When user login, i am creating cookie till a certain date. when browser tab is closed when user is logged in, the session remains. but when we quit the browser, the drupal 7 ...
1
vote
1answer
37 views

How to set the default value of remember me in the persistent login module to on?

The persistent login module gives a "Remember me" at login. How to set this value default on?
1
vote
1answer
37 views

Customize user registration form by adding/modifying fields in the form and handling submit function

I am new to drupal. I need to customize a registration form by adding fields like id,mobile etc. Can I accomplish this by creating a custom module? If yes could anyone please help me with a brief ...
0
votes
2answers
24 views

How can I redirect users on login based on their chosen language?

I'm looking to redirect users after they login. The site is multilingual, using English and French. I've tried using the Login Destination module and using Rules, but it has no options for accessing ...
0
votes
3answers
44 views

Protect user login page with Basic Auth

Is it possible to make Drupal more secure by making LOGIN page private? I would like to make /user/login page private with Basic Auth so an user and password are needed before I get in that page. Or ...
0
votes
0answers
18 views

Can I use LoginToboggan to redirect to previous page on account creation?

When an anonymous user navigates to an "Access denied" resource on my site, they are provided with links to the login/signup pages. After they log in or sign up, I would like to send them back to the ...
1
vote
1answer
26 views

changing the process of registration

I need to make a different process for user registration in drupal. 1] set username, email and password. 2] send a verification email to user's email address. 3] by clicking on the link in the email ...
0
votes
0answers
27 views

Trying to customize login page for mobile, interfering with desktop version of login page

I've been trying to customize the login/retrieve password/create account pages on the mobile version of my website for a couple of weeks now with little success. I haven't found a satisfactory answer ...
2
votes
0answers
17 views

Login process after course choise

I have a website where visitors can follow a course. I have several course available. I have problems to achieve the following process: A anonymous visitor can see a list with available courses and ...
0
votes
0answers
85 views

Trying to theme my user login/registration/password reset pages in Drupal 7, going bonkers

What seems like it should be a very, very simple task -- theming the user login, registration, and password pages in Drupal 7 -- is turning out to be a Kafka-esque nightmare. I can't figure out what ...
0
votes
1answer
23 views

Can't login - no entry fields showing [closed]

I have a local site which i'm working on. But somehow I got logged out and now when I want to login on localhost/user I have a login page without the login fields showing. So I can't login anymore. ...
0
votes
0answers
22 views

Cannot login possibly due to drupal cookies

Today I got a very strange problem which is that I cannot login even if with correct username and password, It always notifies that 'you are not authorized ...' even if I logged in as admin. I did a ...
0
votes
0answers
13 views

Conflict with modules uLogin and Profile 2

I use registration on my site for 3 types of roles by module Profile 2. Now i need use registration from social networks and i using uLogin but after registration from social user isn't has role. What ...
0
votes
2answers
74 views

Drupal 7 - create own login form

Is it possible to create own login form? I need to insert it into my basic page. It is campaign for my client and he wants to be able login from specific basic page. I have tried to use block from ...
0
votes
2answers
37 views

Is it possible to redirect anonymous users from /admin to /user?

Say I have a site called drupal.local, the user login page would be: drupal.local/user And the admin 'homepage' would be: drupal.local/admin The problem is that lots of people seem to expect ...
0
votes
1answer
12 views

Users are logged out when viewing nodes

I'm having a really strange problem with my test website. When users (both admin and non-admin) visit node pages, they are logged out and are being logged in again as the user who commented last on ...
0
votes
0answers
34 views

How to (double) opt-in the user registration process before admins are notified for approval?

I was wondering if you could provide, with drupal core or any module, a double opt-in for the registration process. Ideally, users that fill out the register form should be received an email with an ...
6
votes
3answers
219 views

How know if user is visitor or logged member?

How can I determine programatically whether the current user is anonymous or authenticated?
0
votes
1answer
35 views

Drupal 500 Internal server error on login page

I am getting internal 500 Error on login page. Site is working fine in non logged in state. All other pages are working except user/* I was accessing admin panel. I logged out to check Guest view ...
0
votes
0answers
17 views

Clicking “Have you forgotten your password” leads to access denied page

If I try to log in with invalid credentials , I get "Sorry, unrecognized username or password. Have you forgotten your password?". If I click the linked text "Have you forgotten your password", I am ...
0
votes
3answers
37 views

Additional validation after successful login

I want to implement some additional validation steps right after a user has logged in to a Drupal site. So far, I have implemented the additional validation inside hook_user_login. If the validation ...
0
votes
2answers
16 views

How do I collect daily login statistics

I am trying to add a contest to my website which will be based on how frequently they login into my website. Each user will be assigned one point per day irrespective of how many times the login in a ...
0
votes
0answers
9 views

I cannot get my fied value

I try to add a new field in the login form: function collectivite_login_page(){ $form = drupal_get_form('user_login_block'); $form['userType'] = array( '#type' => ...
0
votes
0answers
11 views

Email field on registration page not working

When I try to register a new account using the standard settings for my site no matter what I put in the email field it gets highlighted in red and I can't register a new user. Has anyone experienced ...
1
vote
2answers
16 views

Redirect users function of role

I need to redirect users function of his role using external authenticate. In my form_alter() I have: $form['#validate'] = array( 'user_login_name_validate', 'beneficiaire_authenticate', ...
0
votes
1answer
43 views

In need of help as I am totally lost and so is my site

In great need of help. Was inside admin on my site looking at users. Noticed a lot of what looked like robot made users and decided to delete them, cliked the box for delete all on this page. What ...
0
votes
1answer
28 views

Drupal Content Updates Not Visible to Public Without Login Attempt

New to Drupal picking up an existing prototype site design from another newbie. Installed version = 7.28 Whenever I make any updates to contents or even site name and tagline, as Administrator I see ...
0
votes
1answer
20 views

admin only can log from a certain country

I want that the admin user to only be able to log in from a certain country, and that the other users that are not administrators will be able to log in from every country.
0
votes
0answers
17 views

Logged-in users getting logged out on some pages

Here's my problem. Some users are logged into Drupal. When they navigate through the website and hit certain pages, they get "logged out" until they navigate to another one, where they are logged in ...
1
vote
1answer
130 views

Is it possible to give inactive accounts a custom error message upon login?

I have a site where, when a user is flagged as spam, that user account is blocked. This is fine, but sometimes a user is blocked by mistake. When the user tries to log in, since the account is ...
0
votes
0answers
43 views

Can't login via /user page

I have a Drupal 7 site and all seems to be working well except for one problem I have just discovered. Users can login via the login block on the home page with no problems. However, if they go to ...
1
vote
1answer
84 views

One time password

I am using profile2 module for user registration.How to create one time password when user is register. Is there any module for this? If i want to create it by custom then how to do it.Please help me ...
0
votes
2answers
40 views

Altering routing of user/login

I have a use case where I need to adjust the landing of the route, user/login to direct to a custom developed user/register page once clicked. What's the quickest method of doing this without ...
0
votes
0answers
20 views

Login gating/restrictions module recommendations or advice

I have been running through a lot of internal pitfalls with trying to develop an internal component to do redirects based on the following logic, as dictated by requirements: For authenticated users ...
0
votes
1answer
66 views

drupal webservice error Access denied for user anonymous

experts: I am new to drupal webservice,when I have set up the backend drupal webservice,I am trying to use firefox poster plugin to test the user/login function but I always get "Access denied for ...
2
votes
1answer
34 views

Why are we getting anonymous account creation on a site where this is turned off?

On one of our Drupal 7 sites (it's at v. 7.32) we're getting occasional 'bot based account creation requests. This is an information-only site where regular users will never log in, only ...
0
votes
1answer
33 views

Alternation of Log in Form in drupal 7

I want to alter the User login form of drupal 7. I want only two fields Email ID and password. I don't want a username field. Please any one have idea to how to do these changes in User login form.
0
votes
1answer
28 views

Gating/Redirecting anonymous user back to an origin page after logging in/registration

I have a use case where I need to redirect a user visiting a page, let's say sprockets/order when a user clicks on an "order" link. We take them to a page with a login field (not user/login, but ...
1
vote
1answer
41 views

Can't login: user/login redirects to index page

My Drupal 7 user, user login and admin pages all redirect to the index page. I am unable to login at all. This problem came up recently after the site had been unchanged for months. I can't think of ...