dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add tests for legacy encoding when constructing RevisionRecords"
[lhc/web/wiklou.git]
/
includes
/
auth
/
ThrottlePreAuthenticationProvider.php
diff --git
a/includes/auth/ThrottlePreAuthenticationProvider.php
b/includes/auth/ThrottlePreAuthenticationProvider.php
index
3f6a47d
..
ae0bc6b
100644
(file)
--- a/
includes/auth/ThrottlePreAuthenticationProvider.php
+++ b/
includes/auth/ThrottlePreAuthenticationProvider.php
@@
-167,7
+167,9
@@
class ThrottlePreAuthenticationProvider extends AbstractPreAuthenticationProvide
$data = $this->manager->getAuthenticationSessionData( 'LoginThrottle' );
if ( !$data ) {
$data = $this->manager->getAuthenticationSessionData( 'LoginThrottle' );
if ( !$data ) {
- $this->logger->error( 'throttler data not found for {user}', [ 'user' => $user->getName() ] );
+ // this can occur when login is happening via AuthenticationRequest::$loginRequest
+ // so testForAuthentication is skipped
+ $this->logger->info( 'throttler data not found for {user}', [ 'user' => $user->getName() ] );
return;
}
return;
}