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
37 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
10 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 ...
0
votes
2answers
29 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
21 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
5 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 ...
-2
votes
0answers
14 views

i want to place user login link from ajax register module in right side of header using drupal 7 [on hold]

i am currently using drupal 7 and for user log in i had installed ajax register module but i don't know how to use it, i want to place user log in link, user registration link in right side of the ...
-1
votes
1answer
19 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
20 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
8 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
144 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
28 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
28 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
21 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
15 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
151 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
18 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
17 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
27 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
1answer
13 views

fboauth not getting user email [closed]

I am using fb_oauth module for facebook login, in some cases mail filed in users table getting blank. This is live site where I found this problem even I am not able to reproduce this scenario.
0
votes
0answers
16 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
18 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
26 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
19 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
30 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
25 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
16 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
142 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
44 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
46 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
43 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 ...
0
votes
0answers
46 views

Can't login to local site (Already tried some things)

Apache Rewrite module is working. tried using the following addresses in aim to login (I am not logged in and therefore can't enable Clean URL's): localhost/Benos/?q=user/ Both of the addresses ...
0
votes
2answers
52 views

How Can I send sms confirmation when user creates a new account in my website?

Can I send sms confirmation when user creates a new account in my website? How Can I? what modules I have to set for this?
0
votes
0answers
32 views

How to configure SSO by SAML on Drupal?

At first, I am new in SAML. Could somebody tell step by step, how to configure SSO on Drupal using simplesamlphp? Or how to test by "Test configured authentication sources"? What I have now. ...
0
votes
2answers
40 views

How do i print username into url after user logs in

currently i am developing a drupal site and i need to print username into url after user logs in ... loging is done with Login destinations module ... usually user is not redirectet but stays at the ...
0
votes
0answers
18 views

My user reset page is giving PDO Exceptions to my users

When I create a new account on my site, and check the box at the bottom of the form that notifies the user via email that an account has been made from them, the user reset page that they are sent to ...
0
votes
1answer
26 views

Use user/register instead of default login page for anonymous users

This sounds simple enough but I can't make it work. Only registered users can view the site content, but instead of the login block, I want users to go to the user/register page (with the 'login' and ...
0
votes
1answer
22 views

Track One Time Login

In my Drupal 7 site, when a user registers they are emailed a one time login link that they can use to set their password using this token: [user:one-time-login-url]. Is there any hook that I can use ...
0
votes
0answers
16 views

Safari doesn't allow me log the user programmatically in the iframe site in Safari

I have a site whose URL is being hidden by showing it in iFrame. In this site, I wanna log in users programmatically. Since when they login, sessions intialize and that's where the problem arises. ...
0
votes
1answer
30 views

Is there a “hook_user_login_failed” hook? Or something similar? [duplicate]

I'm needing to detect when a login failure happens in Drupal and am finding it to be exceedingly difficult even after searching Google. I have to believe this exists somewhere. I found this post ...
0
votes
1answer
62 views

Change drupal standard messages like “You have just used your one time login link”

I'm having trouble with changing drupal default messages. Like for example when you register you get an email with a one time login link (I know how to change this email text) and when you click on ...
0
votes
2answers
32 views

How to redirect user “back two pages” after login

My users are only able to log in on the mysite.com/user page (I don't use any of the login blocks). How can I redirect those users to their location "two pages ago"? For example, they might visit the ...
-1
votes
2answers
67 views

How to check logged in user username/password/role using Drupal function for validation [duplicate]

I am allowing user to register in my site. while registering, user is assigned with a specific role using user_save while logging in as registered user, I have to check if login credential are ...
0
votes
0answers
12 views

Enabled SSL - Login Doesn't work

Followed the instructions on enabling SSL on Drupal 7 installation. The SSL loads fine, all pages/links work but I'm unable to login. When I try to login the screen just resets, go back to http and ...
0
votes
1answer
176 views

How To Wrap Drupal Form API in html div structure [in my Drupal theme files (.tpl file)] [closed]

I have a webpage which is being rendered from my page.tpl.php , it has a login page at top - right of page. I am kind of struggling to wrap my LOGIN HTML FORM in Drupal Form API Below Links did not ...
0
votes
1answer
39 views

Pop Up login Forms for LoginToBoggan

I am using LoginToBoggan Module to unable anonymous user to register using self created password. Now in some other page I want a popup login form. I have tried using other module like modal forms, ...
2
votes
1answer
62 views

Drupal sending SPAM, can't log in anymore

My unupdated drupal website has been sending large amounts of spam. I have now blocked the website with HTTP Basic authentication, but I can't seem to get in my admin account of the website. I've ...
0
votes
2answers
35 views

Creating time dependent user registration in Drupal 7

I wanna register a user which deletes itself after 24 hours. Or Just doesn't allow user to login after 24 hours of creation. Is it possible? Thanks.
0
votes
0answers
47 views

Drupal 7 - Keep me logged in and customizing the error messages - please help

Can anybody help me in implementing Drupal 7 'Keep me logged in' feature and customize the error messages in login form. In page--front.tpl.php i used <?php print front_login();?> for the ...
0
votes
2answers
40 views

Have the '@domain.com' part of the email fixed

I'm using the email registration module so that users can log in using their email address. The users are all from the same company, so I want to know if there's a way to have the '@company.com' part ...