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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Force a Login (SOLVED)


Go to End


2 Posts   2437 Views

Avatar
TerryMiddleton

Community Member, 108 Posts

27 July 2009 at 7:31am

Edited: 30/07/2009 10:45am

*** 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

Avatar
AdamJ

Community Member, 145 Posts

27 July 2009 at 1:47pm

Edited: 27/07/2009 1:49pm

oops, nevermind.