Skip to content

Commit

Permalink
also use bruteforce protection in PublicShareMiddleware when share pa…
Browse files Browse the repository at this point in the history
…ssword is wrong

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
  • Loading branch information
julien-nc committed Nov 10, 2022
1 parent 837bc73 commit 6a817c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public function beforeController($controller, $methodName) {
throw new NeedAuthenticationException();
}

$this->throttle($bruteforceProtectionAction, $token);
throw new NotFoundException();
}

Expand Down

0 comments on commit 6a817c5

Please sign in to comment.