mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05: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
da8e335e74
commit
b5f6ecfb00
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