1
0
mirror of https://bitbucket.org/jsuto/piler.git synced 2025-04-07 06:10:31 +02:00

enabled the GA feature for imap/pop3/ldap auth

This commit is contained in:
SJ 2015-09-03 14:46:38 +02:00
parent 1411b53933
commit a12bd8b530

@ -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);