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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Problems with login


Go to End


3 Posts   1431 Views

Avatar
Mgc

Community Member, 23 Posts

11 August 2008 at 7:43am

Edited: 11/08/2008 7:44am

Hi all,

I have a bit of a situation. I had installed silverstripe and everything was working well until I changed the password for the administrator and when I did now i cant log in.

I tried changing the password though the database using phpmyadmin and no dice.

does anyone know what the problem is?

Thanks

Avatar
spenniec

Community Member, 37 Posts

11 August 2008 at 8:33am

Hi
Try putting this line in your _config.php
Security::setDefaultAdmin("admin", "password");

Then try logging in with username admin and password of password.

See http://doc.silverstripe.com/doku.php?id=security

Avatar
Mgc

Community Member, 23 Posts

11 August 2008 at 3:57pm

Thanks for the reply

I have read in other threads that pecie of code works. I did a re installation and it worked but every time I try to change the default user name and password for some reason it does not let me log in.