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 for CMS


Reply

2 Posts   489 Views

Avatar
Joe Joe

18 January 2012 at 9:57am Community Member, 9 Posts

I am trying to log-in to the CMS admin and I forgot my password. I've clicked the I've lost my password link in the login screen and have not received an e-mail with a link to change my password.

I came here and attempted to login and had to request a new password. I received the e-mail, changed my password, but it does not apply to logging into the CMS admin.

What do I do?

Thanks,

Joe

Avatar
Sticks

18 January 2012 at 11:19am Community Member, 29 Posts

Adding this line to the mysite/_config.php file will let you set a username and password that will let you in to the CMS.

Security::setDefaultAdmin('admin','password');

If you plan on leaving that line of code in there after you've got back into the CMS, then I of course recommend a much stronger password.