user gestion fully done
This commit is contained in:
@@ -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é');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user