← Back to team overview

phpns-team team mailing list archive

Re: [Question #74026]: Reset Admin Password

 

Question #74026 on phpns changed:
https://answers.launchpad.net/phpns/+question/74026

alecwh posted a new comment:
If you have forgotten your admin password, and you have no other admin
accounts on phpns, then you will need to reset your password manually.

That means, you need to go into the database of phpns with a program
like phpMyAdmin (or the mysql command line client), go into the 'users'
table, and edit your admin user row in that table. You will notice that
the password in the password column is a long randomized string. That's
because the password is hashed, and you will need to hash your password
before you replace that password.

Use sha1(), which is a commonly used PHP function. After your hash it,
just plug it into the password column on your admin account's row (using
phpMyadmin or something).

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.