4571 Posts in 1384 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 823 Views |
-
Account Issues

10 April 2010 at 7:54am
Hi Guys,
Immediately after installation of SilverStripe I am redirected to the login page. However, upon entering my UN and PW (of which I created moments before) it prompts "That doesn't seem to be the right e-mail address or password. Please try again.". I have tried 4 reinstalls.
Help would be greatly appreciated.
Thanks in advanced,
Tom
-
Re: Account Issues

13 April 2010 at 2:34am Last edited: 13 April 2010 2:34am
Hi Moonlight,
Edit: I should ask - What version of SS?
Whilst I don't have an answer for you about the problem you are seeing (usernames and password "Just Work" for me on install) you are able to set a default user name and password in configuration so that you can keep moving without re-installing everytime.
Put the following in to mysite/_config.php
Security::setDefaultAdmin('admin','password');
This will force the default user admin user to be 'admin' , with a password of 'password'.
Anyway, this should get you past this problem without needing to get dirty in the database to ensure that your initial user has been created.
Cheers
Owen -
Re: Account Issues

13 April 2010 at 4:46am
Excellent, it's all sorted now.
Thank you very much Owen.
| 823 Views | ||
|
Page:
1
|
Go to Top |

