]> source.dussan.org Git - nextcloud-server.git/commitdiff
set login name within apache auth backend
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 9 Jan 2014 09:28:24 +0000 (10:28 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 9 Jan 2014 09:28:24 +0000 (10:28 +0100)
lib/private/user.php

index e0d6b9f3f512a98d9ccf0992b36f9dd838e9520a..98ebebbe5c18bb0a153f8f51c4355eccd72ecb88 100644 (file)
@@ -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;
                }