Added folder query to imap and pop3 authentication

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-09-09 21:20:59 +02:00
parent f2e9dc8343
commit 9833992b16

View File

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