SilverStripe

Reset Admin Password

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');