mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 11:11:42 -04:00
Save correct login name
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
4eddb95fc4
commit
0a463e55ae
1 changed files with 8 additions and 1 deletions
|
|
@ -573,7 +573,14 @@ class Session implements IUserSession, Emitter {
|
|||
return false;
|
||||
}
|
||||
|
||||
return $this->completeLogin($user, ['loginName' => $uid, 'password' => $password, 'token' => $dbToken], false);
|
||||
return $this->completeLogin(
|
||||
$user,
|
||||
[
|
||||
'loginName' => $dbToken->getLoginName(),
|
||||
'password' => $password,
|
||||
'token' => $dbToken
|
||||
],
|
||||
false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue