From bb8f6b1e004fac6ebcd2ae60950caf69a4759963 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Tue, 24 Nov 2020 21:44:42 +0100 Subject: [PATCH] Fixed google login Signed-off-by: Janos SUTO --- webui/model/user/google.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/model/user/google.php b/webui/model/user/google.php index 7a375f9b..69a1d431 100644 --- a/webui/model/user/google.php +++ b/webui/model/user/google.php @@ -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']));