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

Cannot log in to account with no content

I installed Drupal 7 but after successfully logging in with my admin user for the first time I didn't create a front page or any other content. Now when I open drupal7 I get the log in page but cannot ...
0
votes
1answer
13 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
11 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
35 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
24 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
18 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
46 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
22 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
13 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
58 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
21 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
14 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
17 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
27 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
15 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
11 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
33 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
29 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
46 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
45 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
26 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
11 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
18 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). ...
0
votes
0answers
22 views

Programmatic login failing

I am using the following code to programatically log users into my Drupal site. The same code has worked prior to my employment and I've changed nothing. //Create e global variable to save the ...
0
votes
1answer
40 views

Problem: users are logged out automatically without any reason, while navigating to the website

Hi After some time Im having a very serius problem, while logged in users interact with the website they are logged out without any reason. For example, I log in, then I interact some minutes with ...
0
votes
2answers
23 views

Drupal 7 log-in form doesn't react

Out of the blue I'm unable to login into my website: http://karlssonwilker.com/dev_v2/kw/user I type my username and my password and upon clicking "log-in" or pressing RETURN nothing happens. Could ...
0
votes
1answer
12 views

two-stage user activation from database

I'm trying to create a system where, say for a school or other organizations, I can load a ton of users into a database at once, so that they are grouped separately from other databases of users. ...
0
votes
0answers
17 views

Use description value from term reference in Rules

I have a taxonomy list with fields title and description. In the account settings I have a term reference to the taxonomy list. In my rules I have a rule when user is logged in. I want to do a page ...
0
votes
1answer
25 views

uid = 0 for all kinds of users

I want to get the uid of a logged in user in an external php script. I am using: chdir("C:/xampp/htdocs/mywebsite"); require_once './includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); ...
0
votes
1answer
25 views

LoginToBoggan + Don't use set password mail

I would like to give my user the opportunity to register and login with username AND email. Therefore I installed the module LoginToBoggan where you can enable that users can login using their ...
0
votes
1answer
23 views

How to block the user after a few failed logins

modules like login security deny the user IP after afew failed logins. there are softwares that randomly generate new IP for user so it makes such modules useless. sending cookie to the user browser ...
4
votes
1answer
75 views

How to login by single role if user have multiple roles?

In my latest project client asked me to add extra interface after login where all roles assigned to that user will be shown and user can choose the single role and login by that role only. But i don't ...
0
votes
1answer
68 views

Show custom query page based on user logged in

I want to make a customized query page based on the user who is logged in. The query page is a node made in custom made content type "query"(this content type has no additional fields than which are ...
0
votes
1answer
47 views

Number of logged in users per day

I need to get number of users logged in a site / per day. For ex : May 1 : 123 logins May 2 : 140 logins ... May 30 : 400 logins I've looked into few modules like login_history and counter. ...
0
votes
2answers
39 views

how to customized user login page

My question is when i browse my admin site www.example.com/user a simple login page will appear. Here in this login form there is no option for forget password .so I need option to request new ...
0
votes
0answers
26 views

Generate user token for custom API

We are building an open-data portal. We have a custom API made with Python and Flask. The user management is made in Drupal 7. We only want to allow API access to certain users. Currently we are ...
0
votes
0answers
40 views

Remove label from login form

In my login form I have labels and other stuff I don't whant. But I'm having trouble removing them. I already two buttons to add this in my template.php: function ...
1
vote
2answers
128 views

How to make a drupal site read-only

I want to make a frozen copy of a drupal site (D6) and prevent users from making any changes whatsoever (except for the system adminstrator, if possible). How can I do that? I want to keep the ...
1
vote
1answer
97 views

Change content of $page['content'] variable

I have overwritten my login page with a file named page--user--login.tpl.php. Now I have this: <div class="main-container container"> <div class="row-fluid"> <section<?php ...
0
votes
1answer
33 views

Overwrite login page

I'm trying to overwrite the FULL LOGIN PAGE, not only the login form! I've tried this function your_themename_theme() { $items = array(); // create custom user-login.tpl.php ...
0
votes
0answers
10 views

Navigation and banner does not show up after logging on drupal 6

Recently I moved a drupal 6 site to another server. After the transfer everything seemed normal until I log in After logging in I realised navigation and banner views don't show up and also I cannot ...
-1
votes
1answer
162 views

Cannot access the site after changing admin password

I have drupal 7 site hosted on bluehost. After I changed the admin password, I got an error. I then tried to access the site, and I was able to do that, but it was very slow. Now, I can't access the ...
1
vote
1answer
81 views

Is there a fast way to see a site without the drupal admin elements?

Once in a while various Drupal elements can be a real pain: The context menu covers the search menu & prevents me from clicking into the text field A co-worker is worried that the user is seeing ...
0
votes
1answer
30 views

Custom login form with signin button — POSTing registration

I have added a "register" button to the login form which is shown as a block on my homepage. I want the button to simply redirect to the registration page but it's POSTing to login and error'ing -- ...
0
votes
0answers
661 views

How to customize registration ,login and forgot password pages in bootstrap theme?

I want to customize registration, login and forgot password pages, theming and changing the position of submit buttton and including social connect, i have used this code function ...
0
votes
1answer
72 views

Fatal error when altering the user login form

i want to customize login block in a fancy login box. i used this code in a template.php function bootstrap_form_user_login_block_alter(&$form, &$form_state, $form_id) { ...
0
votes
0answers
9 views

Signup button on login form — forces login

I have this simple bit of code: function MYMODULE_form_user_login_alter(&$form, &$form_state) { $form['actions']['register'] = array( '#type' => 'submit', '#value' => ...
0
votes
0answers
146 views

Show access denied page as a modal form

How do I show login redirect page as a modal form or dialog popup? I'd like to keep my site consistent since I'm using Modal Forms for login and register pages. I'm not trying to display a popup ...
0
votes
1answer
25 views

Single site with multiple user interfaces based on path and role

I'm currently working on a Drupal project that requires 3 separate interfaces. Administrative users login to the site and all of the pages associated with their specific role start with a particular ...
0
votes
4answers
64 views

Duplicating drupal site without login info

I'm a new Drupal user. Someone gave me a backup of their Drupal and .mysql content. I more or less followed these instructions: http://www.ostraining.com/blog/drupal/drupal-migrate/, except the ...