silverstripe-framework/tests
Thomas Speak d22ca62c6f BUG FailedLoginCount reset
If you fail your maximum login attempts and are locked out, further failed login attempts add to your already existing FailedLoginCount as it is only reset if you log in successfully. This means that if you're locked out, then try again, one failure will automatically lock you out again, regardless of what you set your max limit to.

Example:

lock_out_after_incorrect_logins: 3
FailedLoginCount: 0

The user fails three login attempts.

lock_out_after_incorrect_logins: 3
FailedLoginCount: 3

The user is now locked out.

Lockout time passes.

The user fails their 4th login.

lock_out_after_incorrect_logins: 3
FailedLoginCount: 4

This will continue to happen until the user successfully logs in, without giving them the pre-defined amount of login attempts again due to this condition being met after every incorrect login:
```php
if($this->FailedLoginCount >= self::config()->lock_out_after_incorrect_logins) {
```

FailedLoginTestCount Test Added
2013-10-18 13:48:11 +01:00
..
api FIX Improve recent RestfulService fix for proxies 2013-09-20 16:26:39 +12:00
assets FIX extra_requirements to accept non associative arrays. 2013-06-02 13:37:34 +12:00
behat Moved manage-files.feature to cms module 2013-10-08 11:21:36 +02:00
cache Increased CacheTest time delay, avoid flickering tests 2013-10-02 12:13:22 +02:00
control API Removed "PastMember" cookie and template getter 2013-09-27 20:06:25 +02:00
core Merge remote-tracking branch 'origin/3.1' 2013-10-07 16:19:40 +02:00
dev FIX: If CSV column mapping maps to function, keep key value as key. 2013-05-14 22:00:52 +12:00
filesystem Updating FileTest to use the correct shortcode format with commas 2013-06-01 11:25:10 +12:00
forms Merge remote-tracking branch 'origin/3.1' 2013-10-06 19:07:39 +02:00
i18n BUG Fixed cross-platform issues with test cases and file utilities 2013-10-04 13:54:33 +13:00
injector Remove duplicate parse_class_spec method. 2013-05-05 11:43:56 +12:00
integration FIX We still need XML escaping on href attributes in HTML4Value 2013-04-18 09:13:24 +12:00
javascript Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
model Merge remote-tracking branch 'origin/3.1' 2013-10-06 19:07:39 +02:00
oembed FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
parsers API: Pass extra context information to shortcode handlers. 2013-10-09 15:05:17 +11:00
phpcs Add code-sniffs other than line length to scrutinizer 2013-05-23 10:39:01 +12:00
search Coding conventions, PHPDoc cleanup 2013-06-15 12:06:24 +12:00
security BUG FailedLoginCount reset 2013-10-18 13:48:11 +01:00
tasks Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
templates FEATURE: <% include %> inherits iterator scope of parent template 2013-07-07 12:39:42 +00:00
testing API Marked statics private, use Config API instead (#8317) 2013-03-24 17:20:53 +01:00
view FEATURE: <% include %> inherits iterator scope of parent template 2013-07-07 12:39:42 +00:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. 2011-02-02 14:17:57 +13:00
bootstrap.php Setting SapphireTest::is_running_test() in PHPUnit bootstrap 2013-01-09 23:31:10 +01:00
FakeController.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
MemoryLimitTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
phpcs_runner.php Only have Scrutinizer check PHP files 2013-08-21 21:02:12 +12:00
PhpSyntaxTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00