Community Documentation

Log in after disabling the user login block

Last updated February 23, 2013. Created by zirvap on January 22, 2007.
Edited by LeeHunter, silverwing, Drupalace, ronandownes. Log in to edit this page.

If you disabled the User login block and need to log in, you can visit the login page on:

http://example.com/?q=user

or, if clean URLs are enabled, use

http://example.com/user

Note: Use the literal word user, not your username or user id.

Comments

Saved by this help topic

A few days ago, when editing the CSS files for the new website, I decided that users shouldn't have to login to access my brother's website for his novels, so I removed the username/password form from the visible site. Today, after building nearly all of the site, I tried to get my brother (he lives in Savannah, I live in Pittsburgh) logged in so he can enter in text independently. In the process, I went to click on Administer, and hit Log out and was blocked from accessing the site I've been building.

Thank you to the folk that put this topic in a fairly easy to find place, so a Drupal novice like me could find it relatively quickly.

Phil Maye, Pittsburgh, PA

Philip Maye
Illuminating Studios
mayephilip@gmail.com

Log in after disabling the User login block

Sorry but this isn't working. I disable the login block and now while typing mydomain.com/user or mydomain.com/admin I the fields for user and password doesnt appear neither the log in button. How can I access to my site now??? any idea ?? it is urgent for us to recover the access because we run a multisite and its our fron site the one that is blocked.

For Drupal 7 try this:

mydomain.com/?q=user/login
Should work :)

Can't log in

I am having the same issue and I tired using mydomain.com/?q=user/login and nothing happened. Any other suggestions?

Can't log in

I logged out as 'admin' and when I logged in as one of my new users, the loginmenu disapeared. Also no adminmenu and no loginmenu to connect back to admin.
My teacher gave me this tip: www.mydomain.com/user/logout
So now I can loggin as admin.

Hope this could help

I disabled the 'Log in' block and the 'Main page content' block.
Thanks to this topic, I was able to log in back.

The issue is this: trying to place back the 'Log in' block to the left side bar, a Region error related to Main page content occured.

Late edit: seems to be related to a bug for Region error.

About this page

Drupal version
Drupal 5.x, Drupal 6.x, Drupal 7.x
Audience
Site administrators
Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.