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
2answers
94 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
26 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
14 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
8 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
117 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
73 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
13 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
66 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
33 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
5 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' => ...
-1
votes
0answers
20 views

Facebook Connecting Problems (Hybridauth module)

I am using drupal 7 and the Hybridauth module In the past - everything worked great. Unfortunately, now it's impossible to connect with Facebook. Every user that's try to connect get the following ...
0
votes
0answers
53 views

Show toboggan/denied page as a modal form

How do I show toboggan/denied as a Modal Forms popup? I'd like to keep my site consistent since I'm using a Modal Forms for a normal login and register page. Edit: I'm not trying to display a popup ...
0
votes
1answer
18 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
57 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 ...
1
vote
1answer
34 views

Why do site visitors end up with two sessions after logging in?

I have an up and running Drupal 6.30 (latest) site, but some users are having problems logging in. This is due to the user having two rows in the sessions table, one for uid 0 and one for their uid ...
0
votes
0answers
22 views

Login form (or user registration) don't show $messages [duplicate]

This is a weird issue. I have a custom theme which prints the login form (or user registration): $form = drupal_get_form("user_login"); $user_menu = drupal_render($form); This works fine, and ...
0
votes
1answer
63 views

hybridauth module - recirect problems after conntect

I am using Drupal 7 And the hybridauth module. In the past - everything worked great, and new & existing users could connect with Facebook and with Twitter. Now, I have a problem that no one is ...
-2
votes
0answers
18 views

how to custom redirect after login in drupal 7 [duplicate]

I would like to redirect on my custom page after user login in drupal 7 please tell me if any one know this
0
votes
0answers
13 views

Show login form dynamically in page.tpl.php

I have shown the login form using something like: $form = drupal_get_form("user_login"); $user_menu = drupal_render($form); Output looks fine and it even logs me in (although my ...
0
votes
1answer
29 views

How do I link fields of a 'user content type' to the actual logged in user?

I'm using the User Content Type module (Drupal 7) in order to store some fields for each user, such as "zip code." Now, in this node_edit page, I made a variant for a Catalog node, for a specific ...
0
votes
1answer
27 views

Test if Anonymous users can sign up for a new account

In a Drupal theme, how can you test if Anonymous users are able to sign up for a new account? Background: I am theming my user login form according to this tutorial. On my themed user loser login ...
1
vote
3answers
40 views

Redirects within hook_user_login

I'm writing a module that redirects the user on login and am having trouble getting anything to work. Here is what I tried within hook_user_login: submission.info name = Submission description = ...
6
votes
2answers
264 views

Login into Drupal site without Password

I am looking for a mechanism to Log into Drupal system without a Password and only with some link provided. My Use case is: Intranet system (made with ASP) passes the Link like: ...
0
votes
1answer
28 views

How to map user/password to a mobile theme?

I'm working on a mobile version of a forgot password page, the problem I have is the mobile theme is triggered when users are on a page with a URL like: example.com/m/about Here, about would be a ...
1
vote
2answers
41 views

Hooking into the user login block to modify prefill default text in username and password

I am having problems getting a custom module to recognize the user login block. Ultimately I need my user login block to only show the username and password fields, without any labels. Instead of ...
0
votes
1answer
37 views

login redirection

I'm using a modal form module to display a modal login window, so far so good, but when I attempt to let it redirect on the current page that the user is displaying it redirect me to a not existing ...
0
votes
1answer
70 views

Login with iframe popup

I have popup showing on click on a link on my site which shows a login form in iframe. i am able to login with popup iframe but when i close that popup, i am not logged in on main site and need to ...
0
votes
2answers
37 views

How to print login form on page

How to print login form with destination url on a page using code in drupal 7 ?
0
votes
1answer
23 views

Admin log in on site with no logins

I'm working on a site that, in production, will have no logins. We've gone with Drupal to facilitate the creating and editing of content by non-experts. My question is, in this scenario, what's the ...
0
votes
2answers
23 views

Login form inaccessable?

When I go to mysite.com/user I see the login form. But it is not accessable. I cannot click in either of the text boxes and the button does not click. This is true in Firefox, Chrome, and recent IE. ...
1
vote
1answer
28 views

How can I compare [account:last-login] with never using a rules module condition?

Here is my contextual explanation: I would like to redirect on a special page for first time after login. But registering system is using an email validation, so the path to the first login is ...
0
votes
0answers
16 views

Drupal 7 & Windows server using WAF F5 firewall does not allow login

So, under any other installation - local using WAMP for PC, MAMP for mac, and standard linux hosting the site runs fine. no issues. When we try to deploy to the client's server, the one we have no ...
0
votes
0answers
45 views

Third Party OAuth - Drupal Login / Register - Implementation . Is there any module?

Here is the use case There is a third party provider who is exposing User Authentication service Via OAuth. Is there any generic module in Drupal which we can use to integrate Login and ...
0
votes
1answer
27 views

modify Drush uli returned URL string of to include port?

I want to modify a variable (preferably in a Bash Script format) because my PHP environment requires a port number. To open a browser in Drush, one executes $ drush uli In a script: $ bash-3.2$ ...
2
votes
3answers
112 views

How to add a form_token to a login form

For security purposes, I need to add a form_token to the login form. However, when (in hook_form_alter) I use the same code Drupal uses in form.inc for other forms, the validation fails because the ...
1
vote
1answer
71 views

drupal 7 add element after the username input text element on login form

I would like to add the domain name of my company in a simple element right after the username login text input element. Something like this: I already tried the instructions defined in ...
0
votes
1answer
27 views

Bypass Login if a specific URL is visited

I am into a strange fix with my site. Firstly, my site is password protected. So, when I visit, http://www.mysite.com it is greeted with a nice shiny login page. User puts in the credentials and goes ...
1
vote
1answer
40 views

Delay in logging Drupal user through Services

I have two Drupal7 sites. I am using a service that allows a registered user to login using session authentication. On the site that performs the call to my remote service I measured the time when I ...
0
votes
4answers
228 views

Blank pages or wsod on a recently migrated site to a godaddy server only after logging in

Just recently I finished my friend's site on my local wamp server. Looks great on that server. Now I tried to migrate the site to a Godaddy shared hosting account. I was able to get it all setup with ...
1
vote
0answers
41 views

Show “Login or Register to do something” link for anonymous users on all inaccessible forms

Some modules will show forms in a page or tab for roles with the relevant permissions, and these forms don't show up for roles without the relevant permissions by default. So, my question is: Is ...
0
votes
1answer
48 views

How to limit the number of authenticated users logged in simultaneously?

I'm building a project for a client who asked for: Limit the number of authenticated users logged in simultaneously. For example the site won't allow more than 20 users to be logged in at the same ...
0
votes
1answer
44 views

user/login page displays but gives a 404 error on firebug

My Drupal site gives a 404 error in firebug, even though the login form is showing. Also nothing happens when you click Log in-- the page just refreshes and login DOES NOT happen. This only happens in ...
1
vote
1answer
38 views

Login in a different way

For some reason i don't have access to user/login block and don't have a region content . is there any way to login without them like drush,url ?
1
vote
1answer
55 views

One-time link without valid email address Spam Registrations

I have a D6 site that gets a lot of SPAM account registration and they all follow a pattern, however from different IP addresses (often during the following process): 1) User account is created 2) ...
0
votes
1answer
28 views

Redirect User: Delay + Intermediate page

I have been trying to get a quick easy way to redirect the user, no matter where they go to the site straight to the user login page. But before I do, I want to redirect them to another page saying ...
0
votes
0answers
19 views

How can I encrypt the login process without using SSL?

My webhost doesn't allow SSL certificates for my webhosting product since it is a shared IP server. (I would have to upgrade the product and pay a lot more money, which I don't want to at the moment) ...
0
votes
1answer
57 views

Create user login programmatically in Drupal 7

The questions is very simple and the task is difficult. Which functions I need to create a new login form from scratch in Drupal 7? The reason I need this is because I modified the default login ...
0
votes
3answers
193 views

User being logged out of drupal when using form redirect

Looking at my logs I have an issue. I have not been able to recreate it myself. I have a form which an anonymous user fills out. This form takes an email address. When submitting the form I take that ...
1
vote
2answers
271 views

Login with a REST service (services module)

I work with Drupal 7 (services 3.x) to implement a REST service. When I test a login request with this script: $service_url = 'https://dev.mysite.org/api/blog/user/login.xml'; // .xml asks for xml ...
0
votes
1answer
36 views

Add User Login Link to Maintenance Mode page

I have my site in Maintenance Mode. I know I can get to my login page by going to http://mysite.com/login . My client wants a login link on the Maintenance Mode page (when in this mode). Before I say ...