Resources: SilverStripe
Reset Admin Password
2 October 2012
Locked yourself out of SilverStripe? Naturally, as the legitimate administrator you will have FTP access, so simply add this line to your /mysite/_config.php file to reset your 'admin' user password to 'password'.
/mysite/_config.php
Security::setDefaultAdmin('admin','password');