mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 07:20:11 +01:00
Added folder query to imap and pop3 authentication
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
f2e9dc8343
commit
9833992b16
@ -394,6 +394,8 @@ class ModelUserAuth extends Model {
|
|||||||
|
|
||||||
$data = $this->fix_user_data($username, $username, $emails, 0);
|
$data = $this->fix_user_data($username, $username, $emails, 0);
|
||||||
|
|
||||||
|
$data['folders'] = $this->model_folder_folder->get_folder_id_array_for_user($data['uid'], 0);
|
||||||
|
|
||||||
$this->is_ga_code_needed($username);
|
$this->is_ga_code_needed($username);
|
||||||
|
|
||||||
$session->set("auth_data", $data);
|
$session->set("auth_data", $data);
|
||||||
@ -429,6 +431,8 @@ class ModelUserAuth extends Model {
|
|||||||
|
|
||||||
$data = $this->fix_user_data($username, $username, $emails, 0);
|
$data = $this->fix_user_data($username, $username, $emails, 0);
|
||||||
|
|
||||||
|
$data['folders'] = $this->model_folder_folder->get_folder_id_array_for_user($data['uid'], 0);
|
||||||
|
|
||||||
$this->is_ga_code_needed($username);
|
$this->is_ga_code_needed($username);
|
||||||
|
|
||||||
$session = Registry::get('session');
|
$session = Registry::get('session');
|
||||||
|
Loading…
Reference in New Issue
Block a user