Closed (duplicate)
Project:
Masquerade
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2007 at 15:14 UTC
Updated:
28 Jan 2008 at 14:03 UTC
I've hit the "Switch to test user" link by mistake while configuring the site in "site maintainance" mode.
I cannot log back. I tried all the usual methods. What can I do? Change something into the database?
Pls help me:P
Comments
Comment #1
stella commentedhave you tried navigating directly to www.mydomain.com/user to login back in as the admin user? Or if you're still logged in, you could try www.mydomain.com/logout first perhaps? What else have you tried?
Cheers,
Stella
Comment #2
mishhh commentedI tried to login through www.mysite.com/?q=user but no chance
I didn't try logout but I've managed to resolve it by deleting the session for my admin user from database (sessions table). After this move, now www.mysite.com/?q=user works again...
Only after posting I saw another task request to put a "switch back" link in the "site offline" page. I guess it is a good idea, if it's not hard to implement such a feature.
Thank you anyway for your rapid response. I'm impressed:)
Comment #3
icj commentedBetter would be not to allow you to switch users if the site is in maintenance mode.
Comment #4
spydmobile commentedI have had this probelm too, but I disagree with he previous comment to disable switching while in maintenance, this means I cannot masquerade as a test user and see my site maintenance message, rather provide an URL we can load to revert back to ourself.....in the mean time I will go and try to find the database entry that reverts back to normal online mode I guess.....
Comment #5
Gurpartap Singh commentedhttp://drupal.org/node/112107