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

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