nextcloud-server/tests/Core/Controller
Lukas Reschke 8149945a91
Make BruteForceProtection annotation more clever
This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware.

Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 23:05:33 +02:00
..
AvatarControllerTest.php
ChangePasswordControllerTest.php
CssControllerTest.php Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
JsControllerTest.php Fix gzip files for Safari 2017-03-29 00:11:51 -06:00
LoginControllerTest.php Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
LostControllerTest.php Update email template for lost password email 2017-04-12 15:19:53 -05:00
OCSControllerTest.php unify endpoints form core and the the provisioning api 2017-01-25 11:20:35 +01:00
PreviewControllerTest.php
TwoFactorChallengeControllerTest.php fix coding style and increase code coverage 2017-01-11 11:01:54 +01:00
UserControllerTest.php Adds user controller tests 2016-12-30 13:26:26 +01:00