*

Recent

Author Topic: Forgot password  (Read 3212 times)

montezuma

  • Newbie
  • *
  • Posts: 12
  • Force: +0/-0
Forgot password
« on: March 30, 2011, 08:50:50 AM »
Hello,

I completely forgot about a site I have and would like to get back inside but I can't remember my admin password.

Is there any way of retrieving it?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Forgot password
« Reply #1 on: March 30, 2011, 01:08:09 PM »
ATM, no. They are stored in encrypted form and not readable. I believe that Adam has coded in a reset password function into the next version release, but it only works if you have a valid email address stored in your profile.

I'm working on an admin add on to reset passwords for members through the admin panel, but even that would not give you the old one, just set a new one, and you would need to be an admin in order to use it anyways.

There are 2 hopes, if you are comfortable using phpMyAdmin. That is to go in and change the ecryption hash that is stored in the database, by substituting another one, for a known password. You could sign up a new account, with a password you know, then go in and copy the new account's password field into the old account, making the old account have that same password.

Or you could just make a new account, then go into phpMyAdmin and edit the user level of that new acount to '2', making them an admin.

If you need help doing any of this, I could probably work it in as it would probably only take a few minutes. Just PM me the cPanel log in info to do it, along with the username you need to have changed in the database.

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
Re: Forgot password
« Reply #2 on: March 31, 2011, 12:16:20 PM »
md5(password) = 5f4dcc3b5aa765d61d8327deb882cf99

Just replace your old password with that one by using phpmyadmin then login to the site