From 036441078b2cf2bb3c900ee6aa5ff72ac98d3bac Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 18 Oct 2013 12:16:47 +0200 Subject: [PATCH] Use display name from magic cookie, fixes #4884 --- lib/base.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/base.php b/lib/base.php index 2ac58b259b2..e8f67db8881 100644 --- a/lib/base.php +++ b/lib/base.php @@ -769,6 +769,7 @@ class OC { OC_User::setMagicInCookie($_COOKIE['oc_username'], $token); // login OC_User::setUserId($_COOKIE['oc_username']); + OC_User::setDisplayName($_COOKIE['oc_username'], $_COOKIE['display_name']); OC_Util::redirectToDefaultPage(); // doesn't return } -- 2.39.5