diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-02-09 14:11:28 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-02-09 14:11:28 +0100 |
commit | 024adc14b122d436b743e1e08df5af2e8b4bfe06 (patch) | |
tree | 453d022d15cd209ee3bc07ad4fd0a6d072a6cc02 | |
parent | 2c05c2479e7254054ac4a7601db778a7714c41ad (diff) | |
download | nextcloud-server-024adc14b122d436b743e1e08df5af2e8b4bfe06.tar.gz nextcloud-server-024adc14b122d436b743e1e08df5af2e8b4bfe06.zip |
fix(client-login-flow): Use correct response for missing state token
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-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)) { |