Can't log in as Admin
larryl
Joined: 2002-09-16
Posts: 47 |
Posted: Sun, 2012-04-29 03:26 |
I can't log in to Admin. The account is now locked out. Captcha is not working correctly. It's not doing the email password reset even though I'm typing in the correct characters. I've tried disabling captcha per the faq and resetting the module cache, but Gallery still tries to use captcha. The emergency password reset using login.txt is not working. I would appreciate any help. Thanks, |
|
Posts: 27300
See if this helps:
http://gallery.menalto.com/node/106164#comment-390444
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 47
Thanks. Do you think it will matter that mine is 2.3.2? I seem ti recall that there was a significant difference.
Posts: 1642
The script should work with v2.3.2.
The v2.3.2 change did not change the password hashing procedure as I had initially thought.
--
dakanji.com
Posts: 27300
Dayo,
not sure why there is a rash of these but perhaps your script needs to be added to the FAQ?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 1642
Not sure myself.
Also not sure about adding to FAQ, I have been deleting instances where I have posted the script (I forgot the one linked) because while all the other maintenance scripts in lib/support do fairly benign things, this potentially could allow someone to take over a site.
Also, it is limited to MySQL as I wrote it mainly for my own use. I suppose that will cover most use cases but really should use G2's db abstraction layer if going into general circulation.
You can make the call I suppose.
I'll leave the linked one in place and look into expanding it later.
I might add it as an issue to address in the G2 Update Project.
--
dakanji.com
Posts: 47
I did get in with that script.
It's probably a good idea not to leave a link like that laying around, but I'm definitely keeping the script in a strategic location.
Thanks for your help.
Posts: 1642
@Dave
I updated the script and reattached to the same post.
Updates done:
1. Uses G2 db absraction so should work on all db types supported by G2
2. User can give it any name they like as long at it ends in ".php" (Actually .html and .htm will also work but no need to confuse people)
3. Requires user to update/create login.txt file before they can make changes
4. Only works with G2.3.0 and above
I think it can now be safely referenced in the FAQ.
--
dakanji.com