set login name within apache auth backend
This commit is contained in:
parent
9b7c3a5c66
commit
22bd69f75c
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue