Reset bruteforce on token refresh OAuth
When using atoken obtained via OAuth the token expires. Resulting in
brute force attempts hitting the requesting IP.
This resets the brute force attempts for that UID on a valid refresh of
the token.
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
Showing
- apps/oauth2/lib/Controller/OauthApiController.php 9 additions, 1 deletionapps/oauth2/lib/Controller/OauthApiController.php
- apps/oauth2/tests/Controller/OauthApiControllerTest.php 39 additions, 1 deletionapps/oauth2/tests/Controller/OauthApiControllerTest.php
- lib/private/Server.php 2 additions, 1 deletionlib/private/Server.php
Loading
Please register or sign in to comment