Jump to:

22983 Posts in 11709 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Password for CMS

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

Page: 1
Go to End
Author Topic: 425 Views
  • Joe Joe
    Avatar
    Community Member
    9 Posts

    Password for CMS Link to this post

    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

  • Sticks
    Avatar
    Community Member
    29 Posts

    Re: Password for CMS Link to this post

    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.

    425 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.