diff --git a/src/Controller/AppController.php b/src/Controller/AppController.php index 80d410c80..15a39f201 100644 --- a/src/Controller/AppController.php +++ b/src/Controller/AppController.php @@ -173,7 +173,7 @@ class AppController extends Controller $json = $response->getJson(); if(isset($json) && count($json) > 0) { - if($json['state'] === 'success' && intval($json['user']['email_checked']) === 1) { + if($json['state'] === 'success') { //echo "email checked: " . $json['user']['email_checked'] . ";
"; if($session->read('session_id') != $session_id || ( $userStored && !isset($userStored['id']))) {