Lost admin password in G2Alpha4

jsiegel

Joined: 2005-02-06
Posts: 1
Posted: Sun, 2005-02-06 22:45

Hi, I forgot the admin password on my account. I feel like there must be some simple resolution to this problem but I can't figure it out. I tried changing the hashed password in the database using MD5, but I can't figure out how to get this to work.
----

Gallery URL (optional):
Gallery version: 2, alpha 4
Webserver (with version): unix
Datatabase (with version): Mysql 3.23.45
PHP version (eg 4.2.1): PHP 4.2.3
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-02-06 23:09

I'd have thought your admin pw was the same pw as the one you had in plaintext in config.php, but of course you can change the admin pw.
now that you already changed the pw in the db, you'll have to finish what you have begun.
1. use php to generate $newpw = md5('temppw');
2. put this generated $newpw in the db
3. don't know if it's necessary, but push "FlushCache" in lib/tools/test/ (the pw you need to enter here is in config.php)
4. try to login with temppw