From 9833992b16367f272582f51c874d5177fba8492c Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Wed, 9 Sep 2020 21:20:59 +0200 Subject: [PATCH] Added folder query to imap and pop3 authentication Signed-off-by: Janos SUTO --- webui/model/user/auth.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index 313ae4f3..e102e231 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -394,6 +394,8 @@ class ModelUserAuth extends Model { $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); $session->set("auth_data", $data); @@ -429,6 +431,8 @@ class ModelUserAuth extends Model { $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); $session = Registry::get('session');