diff options
author | MichaIng <micha@dietpi.com> | 2023-02-27 16:34:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 16:34:07 +0100 |
commit | 0d67fc23f4077e7b06a01bc519957f3f13d95f10 (patch) | |
tree | 26064d25a6dc05dada90b6e5f46f877edf67b4f9 /core/Controller | |
parent | 70a68e88f56c67c39f5b06d7532704bd5fe7acf3 (diff) | |
parent | 024adc14b122d436b743e1e08df5af2e8b4bfe06 (diff) | |
download | nextcloud-server-0d67fc23f4077e7b06a01bc519957f3f13d95f10.tar.gz nextcloud-server-0d67fc23f4077e7b06a01bc519957f3f13d95f10.zip |
Merge pull request #36634 from nextcloud/fix/client-login-flow/state-token-missing-response
fix(client-login-flow): Use correct response for missing state token
Diffstat (limited to 'core/Controller')
-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 613829787b4..ef16cfbd04b 100644 --- a/core/Controller/ClientFlowLoginV2Controller.php +++ b/core/Controller/ClientFlowLoginV2Controller.php @@ -187,7 +187,7 @@ class ClientFlowLoginV2Controller extends Controller { */ public function apptokenRedirect(?string $stateToken, string $user, string $password) { if ($stateToken === null) { - return $this->loginTokenForbiddenResponse(); + return $this->stateTokenMissingResponse(); } if (!$this->isValidStateToken($stateToken)) { |