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
2answers
22 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
29 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
15 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
19 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
22 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
14 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
65 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
18 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
12 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
69 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
33 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
11 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
28 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
217 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
28 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
16 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
36 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
14 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
42 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
25 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
16 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
115 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
41 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
74 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
54 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
26 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
39 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 ...
1
vote
0answers
37 views

How to detect REST API request?

I have one defined endpoint in Services. I need to detect if request origin is browser or REST client app in hook_user_login implementation to prevent custom redirect when using service. My solution ...
0
votes
1answer
67 views

How to insert user registration data to non-drupal table

I installed drupal 7.34 with oracle database. Now i need to save user registration data to another non-drupal table. User authentication also need to do with these non-drupal database field. Is there ...
0
votes
1answer
17 views

Strange behavior while assigning the role programmatically

I used this code to set role to a user : user_external_login_register($form_state['values']['name'], 'beneficiaire'); $account = user_external_load($form_state['values']['name']); ...
-4
votes
1answer
33 views

Change drupalsite/user to drupalsite/customadmin

Currently to login as an admin I need to navigate to http://drupal.mysite.com/user and then I am logging in as admin. I want to change user to my own custom name customadmin so that when I can ...
0
votes
1answer
20 views

want to make user-login before view contain

i am making a online tutorial site where a user can view can different contain but i want then to go through login. For example: you have a home page. after login, user get redirected to the video ...
0
votes
0answers
30 views

Print D7 one-time reset password message/form (after mail sent)

Is it possible to render the one-time password reset message you are linked to from your reset password e-mail? Note that it is not the form where you type your mail to reset, its this message: RESET ...
0
votes
1answer
55 views

how can I install Drupal 7 with PHP 5.2 on a Windows Server 2003 machine with IIS 6.0 and SQL server 2000 running on it?

What I have: Drupal 7.0 PHP 5.2 IIS 6.0 SQL server Enterprise Manager 2003 SQL server 2000 running on local system(my database is on the same system.) Windows Server 2003.(makes any ...
0
votes
1answer
42 views

How to display admin login?

I have created two logo block in left and right in my page.tpl.php page. I am not able to see admin login. Please guide me.
0
votes
1answer
117 views

How to prevent users editing their profile, but allow password change?

I have a Drupal 7 site that has additional fields added to the user profile page, to capture additional information (with these fields then displayed on the public-facing profile). Only ...
0
votes
3answers
79 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
51 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
93 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
77 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 ...