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
1answer
12 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
18 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
18 views

Drupal automagically changing password hash

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
14 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
19 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
21 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
14 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"> ...
2
votes
2answers
92 views
+50

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
0answers
13 views

How to create the student dashboard in drupal [closed]

How to create the student dashboard in drupal. in which student can see papers and results pdf files but student can only see the papers and results pdf files according to their profile like when 9th ...
0
votes
1answer
34 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
37 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
36 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
45 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
42 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
21 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
35 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
12 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
23 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
21 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
15 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
28 views

Is there a “hook_user_login_failed” hook? Or something similar?

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
45 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
24 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
51 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
11 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
113 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
34 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
60 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
32 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
42 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
39 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 ...
0
votes
0answers
26 views

Admin account is locked ever and ever again

On my Drupal site there is a nasty problem with the 5 times lock flood system and my admin account. altough I am absolutely sure I typed the right password the only thing I can do to log in is ...
0
votes
1answer
24 views

Node access to anonymous user

Is there any way to make some nodes accessible to anonymous users in drupal and rest of the nodes content accessible to only authenticated users . I have a site which offers questions for practice . I ...
1
vote
3answers
59 views

Render alternative content if user is logged in instead of redirecting to user/uid

I have a menu router with type MENU_CALLBACK and it's 'page callback' property points to a function that implements render API, as follow: /** Implements hook_menu **/ function custom_render_menu() ...
0
votes
1answer
26 views

user not logged in php file

I want use drupal functions in php files,I did it with below code $path = $_SERVER['DOCUMENT_ROOT']; chdir($path); define('DRUPAL_ROOT', getcwd()); //the most important line require_once ...
0
votes
0answers
18 views

One account multiple users with single user per session

Relatively new to Drupal! I'm looking for an existing module that can help with the following: I'm working on a project which needs a single "parent" user account which will be used to log in, it is ...
0
votes
3answers
69 views

What is drupal login form url?

I am going to log in to a drupal website but the website does not have log in form. how can I find its log in form url?
0
votes
0answers
24 views

Drupal 7 site login works on XAMP localhost windows 7, but login doesn't work on UNIX

The problem that I'm having is that of the LOGIN functioning on my site. On my laptop, localhost, the site works fine and logins work with no problem. When I port the site over to our UNIX server, ...
-1
votes
1answer
20 views

Can I work with hook_user_login() directly within user.api.php?

Somewhat new to Drupal... this is probably a softball for all you Drupal pros out there. I need to update a custom table in the database each time a user logs into Drupal. I thought I'd be able to ...
0
votes
1answer
20 views

Case difference of Usernames; how to login with Usernames regardless of case in Drupal 7

Quick question. On my site, users have entered their username with capitalized case or mixed upper or lower cases during registration. Now when the Login, they forget that write everything lower ...
0
votes
2answers
34 views

Add classes to login form fields D 7

I ma trying to add foundation classes to my #user-register-form fields in D7 <div class="form-item form-type-textfield form-item-name"> <label for="edit-name">Username <span ...
0
votes
1answer
17 views

If logged in, My Account/Log Out are missing, how can i fix?

I have a Drupal Commerce website in development and there is a problem with the User Login block. If logged in, it is missing the 'My Account / Log Out' links. But if logged out, is shows the ...
0
votes
1answer
12 views

Links in second language not working when logged out

I have inherited a Drupal web site with a lot of modules installed. Part of these modules have been setup to allow for translation of web site elements between English and French. The site is ...
1
vote
1answer
43 views

How do users can login automatically through URL when they click on the link received in Email

In Drupal 7, I am sending E-mail to each user with some content. Here I need to send link to automatically login through URL means when they click on the link they should redirect to the site and ...
0
votes
0answers
55 views

Error when accessing /user/login

I'm working with a themer on a new site. Everything is fine for me on my machine, but since I provided him a Db Dump and the latest code went into GIT he's getting a fully working front-end site, but ...
0
votes
2answers
51 views

i Can't login to my Drupal website admin!

I can't login My drupal website (D 7.23) now. I have changed the password and tried to login back ,but still the problem exists.After i reset the password by using the one time password and can log ...
1
vote
0answers
68 views

Access Denied when logging in using Safari

When I login to example.com via Safari web browser, I get a message that says "Access Denied. You are not authorized to access this page." I can login properly when using Chrome, Firefox, and ...
0
votes
1answer
27 views

Help! Can't Login - Accidently set Omega content zone to not display in content section

mysite.com/user/login can't display the login form because I accidently set my content zone to not display. Is there a way to reverse this programmatically?
0
votes
1answer
19 views

Changing user register/login pages into secure sub domain

I need to change my user registration and login pages into a secure sub domain of my site, how is it possible ? In detail, When user logon to http://www.mysite.com/admin that must be redirected to ...
0
votes
0answers
27 views

Logging in I get the error: EntityMalformedException: Missing bundle property

When I log into my site I get the error: EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7721 of /home/sites/mysiteurl.com/includes/common.inc). ...