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
parent 6e72262c96
commit 5bbea12b45

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
*