[Pkg-owncloud-commits] [owncloud] 06/28: Fix user's displayName being overwritten by (old) cookie

David Prévot taffit at moszumanska.debian.org
Sat Dec 7 02:33:30 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 7eb505e6dd5e0884d8553b8ef2bedc02cf2b7e62
Author: Nico Kaiser <nico.kaiser at boerse-go.de>
Date:   Thu Dec 5 14:18:32 2013 +0100

    Fix user's displayName being overwritten by (old) cookie
---
 lib/base.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/base.php b/lib/base.php
index 2feedd8..baf73b2 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
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list