Recover Admin Password
gmuer
Joined: 2002-09-02
Posts: 44 |
Posted: Tue, 2005-04-19 08:15 |
I've forgot my admin password. :oops: How can I set a new one? I didn't find anything in this Forum. Sorry. Thanks |
|
Posts: 32509
the "i forgot my password" functionality is coming soon.
but you need it now. is your password the same as the configuration password in config.php? try it.
if not, you have to choose a password, i.e. "blabla"
then you have to create the md5 hash of it. <?php echo md5("blabla"); ?>
enter this hash manually in the database in the users table in the admin row.
login with admin/blabla.
Posts: 44
The password hash starts with "sSXU...". I don't belive, it's a md5-hash. Anyway, it doesn't function with your tip. (Table g2_User is the right one?)
Is there an other possibility to reset the admin password.
Thanks
Marcel
Posts: 32509
gmuer, is the password in config.php the wrong password, did you try it?
Posts: 132
Why don't you just register as a new user, and copy the hashed password from the users table (or PendingUsers table depending on your registration settings) to the admin row of the Users table?
Didn't test but I guess that should work?
Posts: 132
Or upgrade to the latest CVS build and use the 'recover password' option. I just found out about that, good work!