From a12bd8b530f228c63aa0c7df9de89a4f71ed450b Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 3 Sep 2015 14:46:38 +0200 Subject: [PATCH] enabled the GA feature for imap/pop3/ldap auth --- webui/model/user/auth.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index f41f334f..b117185d 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -221,6 +221,8 @@ class ModelUserAuth extends Model { $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 @@ class ModelUserAuth extends Model { $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 @@ class ModelUserAuth extends Model { $data = $this->fix_user_data($username, $username, $emails, 0); + $this->is_ga_code_needed($username); + $session = Registry::get('session'); $session->set("auth_data", $data);