Merge pull request #2480 from tractorcow/pulls/3.1-dologin-security-fix

BUG Issue with login form failing to login in certain situations. Fixes ...
This commit is contained in:
Ingo Schommer 2013-10-03 01:15:25 -07:00
commit 5067a3dcd4

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
*