diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index f41f334..b117185 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -221,6 +221,8 @@ $session->set("auth_data", $data); + $this->is_ga_code_needed($username); + $this->is_four_eye_auth_needed($role); AUDIT(ACTION_LOGIN, $username, '', '', 'successful auth against LDAP'); @@ -365,6 +367,8 @@ $data = $this->fix_user_data($username, $username, $emails, 0); + $this->is_ga_code_needed($username); + $session->set("auth_data", $data); $session->set("password", $password); @@ -396,6 +400,8 @@ $data = $this->fix_user_data($username, $username, $emails, 0); + $this->is_ga_code_needed($username); + $session = Registry::get('session'); $session->set("auth_data", $data);