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
Marcel

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-04-19 10:35

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.

 
gmuer

Joined: 2002-09-02
Posts: 44
Posted: Wed, 2005-04-20 09:00

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

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-04-20 11:28

gmuer, is the password in config.php the wrong password, did you try it?

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Wed, 2005-04-20 13:16

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?

 
sddroog

Joined: 2005-02-01
Posts: 132
Posted: Wed, 2005-04-20 13:21

Or upgrade to the latest CVS build and use the 'recover password' option. I just found out about that, good work!