user gestion fully done

This commit is contained in:
Olivier PARPAILLON
2024-11-20 14:49:34 +01:00
parent 6b25c1852b
commit fbdd46ca1f
10 changed files with 134 additions and 40 deletions

View File

@@ -46,7 +46,7 @@ class LoginFormAuthenticator extends AbstractAuthenticator
'pseudo' => $identifier
]);
if (!$user || $user->isActif()) {
if (!$user || $user->isActif() || $user->getPending()) {
throw new UserNotFoundException('Utilisateur non trouvé');
}