Notify not verified

This commit is contained in:
Jannis Portmann 2021-05-11 12:00:53 +02:00
parent 1b4128cd09
commit 92c683eb51
2 changed files with 10 additions and 0 deletions

View file

@ -30,6 +30,11 @@ class UserController extends AbstractController
{
$user = $this->getUser();
if (!$user->isVerified())
{
$this->addFlash('error','Your email is not verified, please check your inbox');
}
return $this->render('user/index.html.twig', [
'user' => $user,
'offers' => $offeringRepository->findByUser($user),