mirror of
https://github.com/nextcloud/server.git
synced 2026-04-04 16:45:22 -04:00
Fix GH-33187
$this->userId is null when loggedin via app password. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
7b1f031ae0
commit
a3cd174b44
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ class ClientFlowLoginV2Controller extends Controller {
|
|||
return $response;
|
||||
}
|
||||
|
||||
$result = $this->loginFlowV2Service->flowDoneWithAppPassword($loginToken, $this->getServerPath(), $this->userId, $password);
|
||||
$result = $this->loginFlowV2Service->flowDoneWithAppPassword($loginToken, $this->getServerPath(), $token->getLoginName(), $password);
|
||||
return $this->handleFlowDone($result);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue