diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-01 14:43:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 14:43:47 +0200 |
commit | 84c22fdeef6986f9038d8563937cc234751d5147 (patch) | |
tree | e56de337cebc2f069c5282909a89a5de29a29df4 /core/Controller | |
parent | 6010c4f267f6b59e0dfd620dc928227f75dae9d1 (diff) | |
parent | f22ab3e665124e79427f51049fea0f937b66cdbb (diff) | |
download | nextcloud-server-84c22fdeef6986f9038d8563937cc234751d5147.tar.gz nextcloud-server-84c22fdeef6986f9038d8563937cc234751d5147.zip |
Merge pull request #5907 from nextcloud/add-metadata-to-throttle-call
Add metadata to \OCP\AppFramework\Http\Response::throttle
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/LoginController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index 1c75b1f3c8b..12431571256 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -248,7 +248,7 @@ class LoginController extends Controller { $args['redirect_url'] = $redirect_url; } $response = new RedirectResponse($this->urlGenerator->linkToRoute('core.login.showLoginForm', $args)); - $response->throttle(); + $response->throttle(['user' => $user]); $this->session->set('loginMessages', [ ['invalidpassword'], [] ]); |