diff options
author | Simon L <szaimen@e.mail.de> | 2022-12-12 23:53:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-12 23:53:37 +0100 |
commit | c8072b215f000f67d48c805fc81fec01a1a47b23 (patch) | |
tree | 84f7a50d798bdadb8c4a38f591be50b426dd9d35 | |
parent | f503712d31a39daa21dec561ceb2c9fe9ea768bc (diff) | |
parent | b5f6ecfb005dc04353df241e8686585ada9b02b6 (diff) | |
download | nextcloud-server-c8072b215f000f67d48c805fc81fec01a1a47b23.tar.gz nextcloud-server-c8072b215f000f67d48c805fc81fec01a1a47b23.zip |
Merge pull request #35562 from nextcloud/bug/33187/read-userid-from-token
Read loginName from token
-rw-r--r-- | core/Controller/ClientFlowLoginV2Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/ClientFlowLoginV2Controller.php b/core/Controller/ClientFlowLoginV2Controller.php index 3c57b190593..4df94a28d6a 100644 --- a/core/Controller/ClientFlowLoginV2Controller.php +++ b/core/Controller/ClientFlowLoginV2Controller.php @@ -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); } |