mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Set $lock_out_after_incorrect_logins out of the box
This commit is contained in:
parent
2c25358828
commit
61ec808604
5
docs/en/changelogs/3.1.7.md
Normal file
5
docs/en/changelogs/3.1.7.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# 3.1.7
|
||||||
|
|
||||||
|
## Security
|
||||||
|
|
||||||
|
* 2014-07-05 [c247dd5](https://github.com/silverstripe/silverstripe-framework/commit/c247dd5) Add default $lock_out_after_incorrect_logins value [SS-2014-016].
|
@ -135,7 +135,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
|||||||
* the user is blocked from further attempts for the timespan
|
* the user is blocked from further attempts for the timespan
|
||||||
* defined in {@link $lock_out_delay_mins}.
|
* defined in {@link $lock_out_delay_mins}.
|
||||||
*/
|
*/
|
||||||
private static $lock_out_after_incorrect_logins = null;
|
private static $lock_out_after_incorrect_logins = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @config
|
* @config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user