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.

General Questions

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

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

password recovery

Go to End

12 Posts   11972 Views


6 January 2009 at 10:15am Community Member, 2 Posts

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.



6 January 2009 at 10:37am Community Member, 712 Posts

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 [url=]this tool[/url] to generate it.


6 January 2009 at 10:50am Community Member, 712 Posts

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.


6 January 2009 at 11:50am Forum Moderator, 474 Posts

Or you could set a [url=]default login[/url], 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.


6 January 2009 at 4:30pm Administrator, 679 Posts

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.


7 January 2009 at 4:46am Community Member, 2 Posts

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



12 May 2009 at 7:28am Forum Moderator, 628 Posts

I've written one of the techniques up at:

So you can follow those easy instructions.


10 June 2009 at 10:21pm Community Member, 901 Posts

@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