Archive for October, 2009

Reset Silverstripe admin password

Posted in General on October 6th, 2009 by David – 2 Comments

It seems like every time I deploy a Silverstripe site I either lose the admin password, or it changes somehow. Then I have to search for ‘lost silverstripe password’ or something to work out how to reset it. This is basically for my own reference:

1. edit /mysite/_config.php
2. add Security::setDefaultAdmin('admin','password'); to the bottom
3. profit!