Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Force a Login (SOLVED)

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: 1451 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Force a Login (SOLVED) Link to this post

    *** I figured this out ***

    You can force a login by issuing this command:

    (yoursite)/LoginForm&action dologin=1&Email=(email)&Password=(password)

    However it doesn't work.

    1.) Is this the correct statement?
    2.) I have a CustomerClass from the MemberLoginForm to my CustomerLoginForm

    When I run this I get an error:

    Website Error
    There has been an error
    The website server has not been able to respond to your request.

    I dont' think the statement is correct:
    (yoursite)/LoginForm&action dologin=1&Email=(email)&Password=(password)

    What should be between action and dologin? Should it be: action_dologin=1

    Any thoughts?

    Terry

  • AdamJ
    Avatar
    Community Member
    145 Posts

    Re: Force a Login (SOLVED) Link to this post

    oops, nevermind.

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