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.

General Questions /

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

Force a Login (SOLVED)


Reply


2 Posts   1504 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.