Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function onAuthenticationFailure(AuthenticationFailureEvent $event) |
||
32 | { |
||
33 | $exception = $event->getAuthenticationException(); |
||
34 | $token = $event->getAuthenticationToken(); |
||
35 | $creds = $token->getCredentials(); |
||
36 | $this->logger->error("Login failed for " . $creds['username'] . ": " . $exception->getMessage()); |
||
37 | } |
||
47 |