fix email check
This commit is contained in:
parent
3998b9ef79
commit
6027a602ca
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Action extends Main
|
|||
}
|
||||
|
||||
$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('username', $username);
|
||||
|
||||
|
|
Loading…
Reference in a new issue