mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
commit
5067a3dcd4
@ -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