From 024adc14b122d436b743e1e08df5af2e8b4bfe06 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 9 Feb 2023 14:11:28 +0100 Subject: fix(client-login-flow): Use correct response for missing state token Signed-off-by: Christoph Wurst --- core/Controller/ClientFlowLoginV2Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Controller') 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)) { -- cgit v1.2.3