How to Enable a temporary administrator account in SilverStripe CMS
To enable a temporary administrator account in SilverStripe add the following line of code to the mysite/_config.php file:
Show Plain TextPHP code
- Security::setDefaultAdmin('admin', 'password');