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(
'JoinForm',
'Welcome',
'Reminder',
'LoginForm',
);
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?