Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » lost admin info

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1653 Views
  • livvving
    Avatar
    Community Member
    9 Posts

    lost admin info Link to this post

    I can't retrieve my admin details - I thought the install wasn't going to work, so I deleted the screengrab I made of the admin info - it won't recognize any of the email addresses I would have used either - is there any way to get my info?

    I checked the mysql database and found that my email was set to admin, so I changed it to a real address and then reqested a reset to my password in the login panel - but it's not arrived yet - I can't change the password as I don't know how to create an SHA1 encrypted password. Is there an online creator available for them so I can create one and paste it into the mysql table?

  • saimo
    Avatar
    Community Member
    67 Posts

    Re: lost admin info Link to this post

    For me, the admin account creation didn't work. When the installation was done, I could log in using username 'admin' and password 'password'. If that doesn't work, you can add a default admin account that is only usable in devmode (http://doc.silverstripe.com/doku.php?id=devmode). To add an admin account and enable devmode, you would add these lines to _config.php:

    Director::set_dev_servers(array(
       'localhost',
       '127.0.0.1',
       'your_problem_site_name'
    ));

    Security::setDefaultAdmin("username", "password");

    Which should then be a valid login from which you can create/change other accounts. Note: I haven't tested this, but it's how I belive it to work.

  • livvving
    Avatar
    Community Member
    9 Posts

    Re: lost admin info Link to this post

    thank you!! Adding the lines to the config file worked perfectly - I got in using the username/password combo, then could create a new log in via the security menu.

    I'm In!!

    1653 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.