Jump to:

23481 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Can't Login to Admin

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: 1676 Views
  • Valorinbattle
    Avatar
    Community Member
    95 Posts

    Can't Login to Admin Link to this post

    I'm working on a site and last night all was good, but today the login fields disappeared. Check it out at www.westwindwood.net/admin

    I still have the message that says to Enter email address and password, but the actual fields are just gone. I didn't do any adjustments to the CMS last night.

    Any help would be awesome. Thanks!

  • gman
    Avatar
    Community Member
    11 Posts

    Re: Can't Login to Admin Link to this post

    My authentication simply "broke," I went from being able to login to not being able to login using the admin email and password. I have been playing with LDAP settingas, but one would think that LDAP setting should not impact the database login.

    So I'm nto sure what to do. Since I'm only testing at this point, not a big deal. But this does cause me to hesitate to use SilverStripe in a production environment if authentication breaks out of the blue.

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Can't Login to Admin Link to this post

    Add a global login account

    Security::setDefaultAdmin($username, $password)

    You can use this method to hard-code an administrative login into the system. This can be useful where you're developing a number of sites for various clients, and want to install your own access details into the system. The login created doesn't appear in the security area of the CMS, so it can't be deleted. When you use this username and password, you will be logged in as one of the other access accounts in the system.

    http://doc.silverstripe.org/security

    http://www.google.com/search?q=silverstripe+reset+admin

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