BUG Issue with login form failing to login in certain situations. Fixes issue #2424

This commit is contained in:
Damian Mooyman 2013-10-03 17:10:56 +13:00 committed by Ingo Schommer
parent 5c376a4a4a
commit 4a0f9d5b7b

View File

@ -14,6 +14,15 @@ class MemberLoginForm extends LoginForm {
protected $authenticator_class = 'MemberAuthenticator';
/**
* Since the logout and dologin actions may be conditionally removed, it's necessary to ensure these
* remain valid actions regardless of the member login state.
*
* @var array
* @config
*/
private static $allowed_actions = array('dologin', 'logout');
/**
* Constructor
*