feat: add login grid

This commit is contained in:
Maël Gangloff
2024-08-05 02:29:42 +02:00
parent 34b0ce7a9b
commit b569083db6
3 changed files with 70 additions and 58 deletions

View File

@@ -33,7 +33,7 @@ readonly class JWTAuthenticator implements AuthenticationSuccessHandlerInterface
public function handleAuthenticationSuccess(UserInterface $user, $jwt = null): Response
{
if (($user instanceof User) && !$user->isVerified()) {
throw new AccessDeniedHttpException('This user has not yet validated their email address.');
throw new AccessDeniedHttpException('You have not yet validated your email address.');
}
if (null === $jwt) {