mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Issue with login form failing to login in certain situations. Fixes issue #2424
This commit is contained in:
parent
5c376a4a4a
commit
4a0f9d5b7b
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user