[Pkg-owncloud-commits] [owncloud] 56/104: set login name within apache auth backend

David Prévot taffit at moszumanska.debian.org
Sat Jan 18 13:33:40 UTC 2014


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

taffit pushed a commit to branch master
in repository owncloud.

commit 596ab7552e09d487d731e74d75cfe9c6d8f8caf4
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Jan 9 10:28:24 2014 +0100

    set login name within apache auth backend
---
 lib/private/user.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/private/user.php b/lib/private/user.php
index e0d6b9f..98ebebb 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -246,6 +246,8 @@ class OC_User {
 			session_regenerate_id(true);
 			self::setUserId($uid);
 			self::setDisplayName($uid);
+			self::getUserSession()->setLoginName($uid);
+
 			OC_Hook::emit( "OC_User", "post_login", array( "uid" => $uid, 'password'=>'' ));
 			return true;
 		}

-- 
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