Secure admin

This commit is contained in:
2025-04-21 19:12:48 +02:00
parent daeda4a9b5
commit 66b57ea84a
4 changed files with 7 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ final class RegistrationController extends AbstractController
return $this->redirectToRoute('app_register');
}
$this->addFlash('success', 'Your email address has been verified.');
$this->addFlash('success', $this->translator->trans('Your email address has been verified.'));
return $this->redirectToRoute('app_backoffice_index');
}