aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/ClientFlowLoginV2Controller.php2
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)) {