mirror of
https://github.com/nextcloud/server.git
synced 2026-03-27 12:54:24 -04:00
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> |
||
|---|---|---|
| .. | ||
| ContentSecurityPolicy.php | ||
| DataDisplayResponse.php | ||
| DataDownloadResponse.php | ||
| DataResponse.php | ||
| DownloadResponse.php | ||
| EmptyContentSecurityPolicy.php | ||
| FileDisplayResponse.php | ||
| ICallbackResponse.php | ||
| IOutput.php | ||
| JSONResponse.php | ||
| NotFoundResponse.php | ||
| OCSResponse.php | ||
| RedirectResponse.php | ||
| Response.php | ||
| StreamResponse.php | ||
| TemplateResponse.php | ||