set login name within apache auth backend

This commit is contained in:
Thomas Müller 2014-01-09 10:28:24 +01:00
parent 9b7c3a5c66
commit 22bd69f75c
1 changed files with 2 additions and 0 deletions

View 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;
}