|
|
@ -35,7 +35,7 @@ class Action extends Main
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$email = $loggedUser->getEmailAddressRelatedByEmail();
|
|
|
|
$email = $loggedUser->getEmailAddressRelatedByEmail();
|
|
|
|
if ($email !== null || !$email->isVerified()) {
|
|
|
|
if ($email === null || !$email->isVerified()) {
|
|
|
|
$segment->setFlash("message", "Please verify your email before logging in");
|
|
|
|
$segment->setFlash("message", "Please verify your email before logging in");
|
|
|
|
$segment->setFlash('username', $username);
|
|
|
|
$segment->setFlash('username', $username);
|
|
|
|
|
|
|
|
|
|
|
|