Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

password recovery

Go to End

12 Posts   17504 Views


Community Member, 2 Posts

6 January 2009 at 10:15am

I recently installed silverstripe on one of my web servers and intend to use it as the backend for my company's redesigned website. I'm embarrassed to admit it, but I've now forgotten the password I used when I initially set it up. When I use the "Remember Password" form I don't receive the reset password email. I believe this is because I have yet to configure the email settings with the admin interface. Is there ANY other way to recover my password? It's SHA1 encrypted in the database (as it should be). Please let me know if you have any thoughts--I've shot myself in the foot here and will take any help I can get. Thanks.



Community Member, 712 Posts

6 January 2009 at 10:37am

Quickest thing to do would probably be to manually overwrite your password in your database.

Just update the user row with the SHA1'ed password - you could use this tool to generate it.


Community Member, 712 Posts

6 January 2009 at 10:50am

Actually, the password is salted, so not that easy.

If you only have one user (or you don't mind adding your users back), delete all members (SQL: DELETE FROM MEMBER;) then run: set a new admin user and password.


Community Member, 473 Posts

6 January 2009 at 11:50am

Or you could set a default login, by adding Security::setDefaultAdmin('username', 'password'); to mysite/_config.php.

Then you can log in, and change your password. You may want to remove the default login (by removing the line) afterwards.


Administrator, 690 Posts

6 January 2009 at 4:30pm

The other thing that you can do in the database is to find your admin user's entry in the member table, and make the following changes:

* set the Password field to your unencrypted password
* set the PasswordEncryption field to 'none'

After you've done this, you can log in and change the password, and it will be overwritten with an encrypted password.


Community Member, 2 Posts

7 January 2009 at 4:46am

Thanks for all the great answers! I'm all set now.



Forum Moderator, 628 Posts

12 May 2009 at 7:28am

I've written one of the techniques up at:

So you can follow those easy instructions.


Community Member, 904 Posts

10 June 2009 at 10:21pm

@happykaka: This issue was all about the SilverStripe CMS and not how to unlock a Windows Account Password... Posts like yours are considered SPAM in my book.

Go to Top