17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1545 Views |
-
lost admin info

21 February 2008 at 7:02am Last edited: 21 February 2008 8:05am
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?
-
Re: lost admin info

21 February 2008 at 8:17am
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.
-
Re: lost admin info

21 February 2008 at 8:36am
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!!
| 1545 Views | ||
|
Page:
1
|
Go to Top |

