mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 08:40:12 +01:00
enabled the GA feature for imap/pop3/ldap auth
This commit is contained in:
parent
1411b53933
commit
a12bd8b530
@ -221,6 +221,8 @@ class ModelUserAuth extends Model {
|
|||||||
|
|
||||||
$session->set("auth_data", $data);
|
$session->set("auth_data", $data);
|
||||||
|
|
||||||
|
$this->is_ga_code_needed($username);
|
||||||
|
|
||||||
$this->is_four_eye_auth_needed($role);
|
$this->is_four_eye_auth_needed($role);
|
||||||
|
|
||||||
AUDIT(ACTION_LOGIN, $username, '', '', 'successful auth against LDAP');
|
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);
|
$data = $this->fix_user_data($username, $username, $emails, 0);
|
||||||
|
|
||||||
|
$this->is_ga_code_needed($username);
|
||||||
|
|
||||||
$session->set("auth_data", $data);
|
$session->set("auth_data", $data);
|
||||||
|
|
||||||
$session->set("password", $password);
|
$session->set("password", $password);
|
||||||
@ -396,6 +400,8 @@ class ModelUserAuth extends Model {
|
|||||||
|
|
||||||
$data = $this->fix_user_data($username, $username, $emails, 0);
|
$data = $this->fix_user_data($username, $username, $emails, 0);
|
||||||
|
|
||||||
|
$this->is_ga_code_needed($username);
|
||||||
|
|
||||||
$session = Registry::get('session');
|
$session = Registry::get('session');
|
||||||
$session->set("auth_data", $data);
|
$session->set("auth_data", $data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user