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

Is this a possible attack on database?

In the logs (Drupal 7), I have seen the next entry (I have edited some compromised info). It seems a failed (only I hope it actually failed) attempt to access the login account. I have tried to ...
0
votes
0answers
24 views

Fatal error: Class 'Symfony\Component\HttpKernel\HttpCache' not found [on hold]

I was authenticate a user in index.php and forwarding the request using the method , HttpCache::forward . The server is spitting out Fatal error: Class 'Symfony\Component\HttpKernel\HttpCache' not ...
0
votes
1answer
13 views

Drupal go to with destination

I have a page with two links visible to people, but on clicking of either of two, user needs to log in to view, so in case user is not logged in, i am sending users to login page with ...
-1
votes
0answers
21 views

When I am logged-in the page doesn't look the same as when I am logged-off

Does I need to include something in the code or in settings. I have problem what page dont look the some when I am login or not. Like on photo down. Some help or suggestion? This is my code. Does I ...
0
votes
1answer
25 views

Redirect to custom URL while logging in user through Webform

I am hoping to register/login a user based on the values entered in Webform and then redirect to a URL based on a user type. The problem is that everything works but the redirection. Seems like this ...
1
vote
1answer
13 views

how do i add a login menu to superfish menu module?

I thought i would be able to add the default User Login menu to a Superfish block, but it doesn't appear in the drop down list to be able to select when configuring the Superfish block. Can anyone ...
0
votes
2answers
26 views

Programmatically log in user not working correctly

Here's what I am doing: global $user; if (!user_is_logged_in()) { $user = user_load(31); user_login_finalize(); echo $user->uid; } When a user is not logged in - we have to log in him as ...
0
votes
2answers
52 views

Customize user login block

I've been playing around with Drupal 8 since about a week. A couple days ago I tried to design the user login page to my needs but I couldn't quite do it. My problem is the following: I want to ...
2
votes
1answer
23 views

Multiple login attempts from different IP Addresses

My website has been getting about 25 login attempts per hour for the past few days for usernames admin, administrator and our website name. The attacker seems to be using differing IP addresses and ...
1
vote
1answer
18 views

Access denied after installation

I just finished the installation, everything went fine but when I go to view my site I can not login. I cant get to /user have a look: www.huf.co.nz all worked fine on my local before I tried to ...
0
votes
1answer
28 views

Theming login form just for specific user registration / Auto Assign Role Page

On this page users gets automatically a role assigned by the Auto Assign Role module. For a better user experience i added the login form also to this page. This works great: In ...
0
votes
1answer
20 views

Turn Drupal into a USER API

I'm developing the main website (A) for an organisation in D7 but for other reasons there are microsites (B) related to this website using CMSs. I need to give this other users an endpoint in which ...
0
votes
1answer
64 views

Custom login for specific role [duplicate]

On a site there are some pages from a Content-type. Some of those pages (for the Belgium language only) need to be only accessible for Dokters. So when you try to reach the URL of one of those pages ...
0
votes
1answer
28 views

Require specific access for certain pages with only one input field [duplicate]

For certain pages i have to require a login first (custom form with 1 input field). When you try to reach the URL of one of those pages you are redirected to a login-page They have to fill-in a ...
0
votes
0answers
15 views

Unable to log in via /user or login block - no reaction

I'm working on a D7 site on my local machine (Mac with built in Apache and MySQL and PHP 5.6 installed via Homebrew) that I've been working on just fine for a while, and starting yesterday for some ...
0
votes
1answer
27 views

Cannot login to my drupal site because of php version 5.6

I have installed drupal 7.36 and developed my site on localhost in XAMPP. After I logget out I'm not able to log in again even if name and password is correct. I have only one user created - admin. ...
0
votes
0answers
59 views

Drupal 8 Render login Form

I would like to call the user login form in ***.theme in my theme but I can't. In Drupal 7 I did this $elements = drupal_get_form("user_login"); $form = drupal_render($elements); echo ...
0
votes
1answer
49 views

User login API for social login from mobile apps

I have installed HybridAuth module for social login (Only Facebook & Google) and It is working fine. I need the same functionality for mobile apps. Like the user can able to login using the ...
0
votes
2answers
54 views

How to create pop up window for login page [duplicate]

I want something like if i click on the login then pop window should open where in i should able to enter my Id and password to login, as as of now i tried with modules like Fancy Login Ajax ...
0
votes
1answer
27 views

Unable to login using hybridauth module

I have installed the hybridauth module and enabled but on login page though it showing the FB icon, Twitter icon if I click on it try to login with it Showing : "There was an error processing your ...
0
votes
2answers
42 views

Override entire user login / register page

I am trying to figure out a way to override the entire /user page in D7. There is a lot of articles out there that goes about altering the form, but I want to be able to rework the entire page (forms ...
1
vote
0answers
27 views

Export user's passwords from one sites to another

I queried users table from an old site and saved those users in a new site, excluding passwords (every user has default 'password' password). Now I'd like to get hashed passwords from the old site and ...
1
vote
1answer
91 views

Disable user login block

I think I might found a bug(?) Only administrators can create content on my site, so I am trying to remove the login form from the front page, its okay that the login page can be accessed at ...
1
vote
3answers
71 views

Share Unpublished nodes through a link that needs a user authentication

I am trying to share unpublished node through its URL to a specific role. What I am trying is that when that user (with the specific role) opens that link, he'd have to login to open the URL. Is it ...
3
votes
3answers
25 views

Show profile field on profile page

I created user-login.tpl.php file in my custom theme. Then I add this code : <div class="profile"<?php print $attributes; ?>> <h2><?php print ($user_profile['field_nom']); ...
0
votes
1answer
30 views

Remove login confirmation message programmatically

I have the login form displayed in the CTools modal dialog. When users log in, they see the confirmation message and a Rules action redirect them to the home page. How can I remove the confirmation ...
-1
votes
1answer
36 views

What are the required fields to create user through social media login?

I want to integrate Social Media Login (which is not a module name, I am going to integrate the HybridAuth Social Login module) in my website. So that I just want to know the required (by our website ...
0
votes
2answers
58 views

user login template Drupal

I'm building a custom theme annd I want to add the login form into localhost/mywebsite/user. I don't know why, but no login form appears into this page. So I created a template called ...
0
votes
0answers
12 views

During form validation, require user login under special circumstances without interrupting workflow

I'm building a site which aims to inconvenience the user as little as possible. Certain nodes can be created by anonymous users, however they must submit an email address. If the user is logged in, ...
0
votes
0answers
22 views

Is there login Block for DISQUS module like core Drupla user-login block?

I try a lot but I am not getting, we all know we can use DISQUS module in drupal website for the commenting system and it provide the Login option at commenting page only just above the comments as ...
0
votes
0answers
29 views

Node save after user login

Is there a module which redirects Anonymous users to user login form after submitting node form and saves the node only when user successfully logs into data? Will I have to do it by $_SESSION if ...
0
votes
1answer
23 views

Drupal login using other subdomain user account with certain role

I'm having a main site and few subdomain sites for different countries: www.mydomain.com (for U.S users) newzealand.mydomain.com singapore.mydomain.com australia.mydomain.com For each site, ...
1
vote
1answer
76 views

How do I add the login form in page.html.twig?

I am using a subtheme from the Neato theme (in Drupal 8) and I am customizing page.html.twig. Yesterday I performed a logout, and now I want to log in again, but the login form has disappeared. How ...
1
vote
2answers
62 views

How to redirect particular page after login via social networking site?

In my Drupal site I have placed a link in checkout page which takes to user/login. On successful login it redirects back to checkout page. For this I have used ?destination=checkout in the url. I have ...
1
vote
1answer
23 views

How to login when you have a default page setup with panels?

I have been messing with panels. I set a default layout page that basically has no content and is set for all the pages at the moment. I logged out like a dummy and now when I go to ...
0
votes
3answers
33 views

What does Drupal do when registering a user?

I'm relatively new to Drupal. I like to understand what Drupal does programatically when a user is being created? More specific I like to know if any file is being created? Or is it just a database ...
0
votes
2answers
17 views

Default login page little change

I want the following; In the default login page, I want to delete this line: Nieuw wachtwoord aanvragen (Also DELETE "request new passord) on this site: http://www.deklotvaarders.nl/user Also I don't ...
0
votes
0answers
24 views

How do I make ajax /register login module responsive?

I am using the Ajax register module and it is working fine on all browsers, but it is not responsive and it is not coming properly in mobile browsers. Is there any option to make it responsive on ...
2
votes
2answers
39 views

How to redirect users to log in page when they try to access the order page, but not when they try to check out

I'm using Checkout Login module that adds an inline login form to the account information checkout pane. No anonymous users have to activate their accounts to complete checkout or payment, which is ...
1
vote
1answer
74 views

How to avoid admin account to be blocked for all ip's by failed attemps to login?

In my drupal site, often i see this message for the admin account Sorry, too many failed login attempts from your IP address. This IP address is temporarily blocked. I know i can solve it clearing ...
0
votes
1answer
31 views

Check, anywhere during a session, if a logged in user has previously logged in

There are a number of properties on the global $user object https://api.drupal.org/api/drupal/developer%21globals.php/global/user/7 But I can't figure out how to see if a logged in user has ever ...
1
vote
1answer
28 views

Drupal commerce auto login during checkout process

I have created a e-commerce site, in that when anonymous user purchase a product during checkout process it should automatically created a account and assign order to the user. For existing user it ...
0
votes
2answers
69 views

Facebook login only

I'd like to allow user register/login via Facebook only. After installing Simple FB Connect, there is a new Facebook login tag at: user/simple-fb-connect The question is, how can I remove: Create ...
0
votes
2answers
22 views

I want to change the order of fields in login/registration form

I've user login/registration form in my drupal 7 site. Two links in this form: "Create new account" and "Request new password" are appearing before captcha. And I'm trying to place these links after ...
0
votes
1answer
46 views

HybridAuth registration

I am using HybridAuth as my login module and I want that user have to register with email and password. How can I do that ? In the current process, user gets mail only and then sets the password ...
0
votes
0answers
17 views

D8 IE Login Redirecting to Access Denied Page, Why?

This question has been asked before but I see only D7 versions of the question, and none of their answers have helped me in D8. I log in perfectly fine with Chrome or Firefox, but IE 11 redirects to ...
1
vote
2answers
59 views

I am trying to create user registration form in js which beautiful and flexible [duplicate]

I am using drupal 7. I am trying to create user registration form with javascript which beautiful and flexible. Something like this: How can I achieve this?
0
votes
0answers
22 views

Use “Login destination” to redirect the user to a page of Views

Hi everyone. I have a type Article page, whose alias is: /primaria/docentes/kit. I have a type Views page, whose alias is: /primaria/docentes/kit. When a user log, whose role is "primaria", I want ...
0
votes
1answer
24 views

CTools modal return incorrectly return html instead of ajax commands

I am trying to create custom login form using Ctools modal window. There seems to be a problem upon submitting the correct username and password. The page callback function is supposed to return a ...
0
votes
1answer
39 views

Login Destination Drupal 7 Current page not working

On my site, I have the setting for the Destination of <current>. This doesnt redirect me. It just sends me to the user login page. Its one of the options listed as the helpful text. ie. ...