server/lib
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
..
composer Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
l10n [tx-robot] updated from transifex 2017-04-13 00:08:02 +00:00
private Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
public Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
autoloader.php Revert "Add a magic wrapper to allow phpunit4 to run the code again " 2017-03-20 14:25:43 +01:00
base.php Move OC_Defaults to OCP\Defaults 2017-04-09 21:43:01 -05:00