From 9c4bbf9ad7bce25153a54c2b10a5f11cec6fa04e Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 5 Dec 2013 20:53:11 +0100 Subject: [PATCH] Revert "Revert "Fix user's displayName being overwritten by (old) cookie"" This reverts commit eba35d28cd974507f9e81e15430d3d33dbbd9973. --- lib/base.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/base.php b/lib/base.php index 2feedd81d8..baf73b2fb9 100644 --- a/lib/base.php +++ b/lib/base.php @@ -866,7 +866,6 @@ 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 }