Fixed google login

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-11-24 21:44:42 +01:00
parent 9225d5b32e
commit bb8f6b1e00

View File

@ -37,8 +37,8 @@ class ModelUserGoogle extends Model {
$session->set("uid", $user['uid']);
$session->set("admin_user", 0);
$session->set("email", $user['username']);
$session->set("domain", $query->row['domain']);
$session->set("realname", $query->row['realname']);
$session->set("domain", $user['domain']);
$session->set("realname", $user['realname']);
$session->set("emails", $this->model_user_user->get_users_all_email_addresses($user['uid']));
$session->set("folders", $this->model_folder_folder->get_folder_id_array_for_user($user['uid']));