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

learn more… | top users | synonyms (1)

2
votes
1answer
21 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
0answers
19 views

/user/ page access denied [on hold]

Out of nowhere I cannot login via /user page anymore, now I have to go to /user/login to get to login form. And even after logging in (as admin user id 1) admin end all works, but if you go to /user/ ...
-1
votes
0answers
16 views

Drupal Netforum Integration [on hold]

I am working on integrating the Drupal Netforum and the Netforum Authentication modules. I was able to add the credentials in for the Xweb endpoint and username password in the Netforum module. This ...
0
votes
2answers
37 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
41 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
86 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
40 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
13 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
34 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
22 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
7 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
16 views

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

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
146 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
30 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
29 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
16 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
180 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
18 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
20 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
28 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
36 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
28 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
149 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
47 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
55 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
44 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
54 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
39 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
19 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
27 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
31 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
69 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
68 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 ...