I am posting to the login form from an external script. I turned off the login form, and lo and behold.. I cannot login anymore.

No, I cannot just hit mysite.com/?q=user/login.. nothing happens.

I guess theres no way to POST a remote login with the login form turned off? If so, the only solution would be to have the form hidden by css.

In the meantime, what do I chang in the DB to re-enable my login form so I can get my Admin access back?

Thanks

Comments

Zen’s picture

How did you turn off the login form?

-K

flyerstarter’s picture

I was logged in as Admin, in the blocks control panel, I believe.

johnafmendes’s picture

Try this:

http://www.yoursite.com/index.php?q=user

Maybe can help.

John.

ray.moncada’s picture

I usually do this with the keys for my car. I leave then inside and then lock the car door intentionally. Thanks for the link!

rhadoo2004’s picture

have the exact same problem as flyerstarter. tried a lot of stuff, like embeding the login form. it showed an login form but did not go well

AndrewGoldy’s picture

I did the same thing ... somehow ... so now I have hard coded a link to the "/user" page!!!

It works!!!!