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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

SS 3.1 login

Go to End



Community Member, 244 Posts

25 July 2013 at 10:52pm

I've got a site in SilverStripe 3.1, and trying to put a log in form on the page template.

Adding '$LoginForm' into the template shows the form, all good. But when you submit the form, you get

"Action 'LoginForm' isn't allowed on class MemberPage_Controller."

I have added LoginForm to the allowed actions list

class MemberPage_Controller extends Page_Controller {

	 private $allowed_actions = array(		 	

All the other actions in the list work fine, but LoginForm still isn't allowed.

Is there a special way of dealing with this particular function in SilverStripe 3.1? it worked just fine in 3.0.5?