Feat: Streamline and extend logging
This commit is contained in:
@@ -83,9 +83,7 @@ class BpnAuthenticator extends AbstractLoginFormAuthenticator implements Authent
|
||||
$user = $token->getUser();
|
||||
|
||||
$user->setLastLoginAt(new \DateTimeImmutable());
|
||||
$this->logger->info('Login', [
|
||||
'user' => $user->getUserIdentifier(),
|
||||
]);
|
||||
$this->logger->info('Login');
|
||||
|
||||
$this->entityManager->flush();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user