mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
skip email check state in login because now user should able to login without checked email
This commit is contained in:
parent
8c9bc6f33d
commit
e28b866e65
@ -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'] . "; <br>";
|
||||
if($session->read('session_id') != $session_id ||
|
||||
( $userStored && !isset($userStored['id']))) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user