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

learn more… | top users | synonyms (1)

1
vote
0answers
22 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
27 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 ...
-2
votes
0answers
12 views

Fancy Login Module Clearing form after closing

I need to clear my form after a user closes out the fancy login form. Here is my javascript. function popupCloseListener() { $("#fancy_login_dim_screen, ...
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']); ...
0
votes
0answers
9 views

Getting Internal server error after registration Or Login [closed]

Hi i have made a new website on drupal7. it is working fine on my online server but when i have shifted that on another server then i m not able to register or login expect these all link and data are ...
0
votes
0answers
13 views

WSOD on login page after adding a Biblio record [closed]

I am getting a WSOD on my sites gkeller.princeton.edu/user login screen. This was after I added a biblio. The site is fine and I do see the biblio was added, however, I can not login to the site. I ...
-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
12 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
8 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
26 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
22 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.
-1
votes
0answers
110 views

fresh install of drupal 7.34 and cannot acess the admin access denied [closed]

windows 8.1 xampp local install drush 7.0 dev After a fresh install of drupal 7.34 I try to login and the log in works with the password but access is denied to site/admin. The admin bar also does ...
0
votes
1answer
32 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
0answers
30 views

Drupal 7 custom Login block [closed]

I created one user-login.tpl.php and my own theme. when I logout it shows default drupal log in. after that i placed url like this(drupal/user) my custom login form comes along with my theme. I Don't ...
0
votes
3answers
72 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
40 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
52 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
41 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
26 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
24 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
18 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
30 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
11 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
18 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
31 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
135 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
26 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
14 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
26 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
78 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
85 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
557 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
49 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
56 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
103 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
25 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
56 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
32 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
36 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
18 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 ...
-1
votes
1answer
157 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
42 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
40 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
38 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
24 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
420 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 ...