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
12 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
8 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
8 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
13 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
37 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
14 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
13 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
87 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
35 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
47 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
27 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
17 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
20 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
31 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
32 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
17 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
30 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
28 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
44 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
15 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
14 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
41 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
30 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
56 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
73 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
47 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
61 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
51 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
29 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
34 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
21 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
35 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
12 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
42 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
25 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
43 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 ...
3
votes
3answers
190 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
31 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
26 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
27 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
11 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
121 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
129 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
1k 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 ...
0
votes
2answers
52 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
122 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 ...