summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorNico Kaiser <nico.kaiser@boerse-go.de>2013-12-05 14:18:32 +0100
committerNico Kaiser <nico.kaiser@boerse-go.de>2013-12-05 14:18:32 +0100
commit2a7380cc21e56ce12b1a0e1460fabc978a83090b (patch)
tree75b1e6fa8e0d818fdf97c67e4ac7f2d386bc969d /lib/base.php
parent125dff89975e84a3dddcdd93afb5babd096e9cc1 (diff)
downloadnextcloud-server-2a7380cc21e56ce12b1a0e1460fabc978a83090b.tar.gz
nextcloud-server-2a7380cc21e56ce12b1a0e1460fabc978a83090b.zip
Fix user's displayName being overwritten by (old) cookie
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 2feedd81d8c..baf73b2fb9f 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
}