mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-01 00:32:27 +01:00 
			
		
		
		
	Added folder query to imap and pop3 authentication
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -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'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user