fix email check

master
Corne Oppelaar 9 years ago
parent 3998b9ef79
commit 6027a602ca

@ -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…
Cancel
Save