Skip to content

Commit 0d67fc2

Browse files
authored
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
2 parents 70a68e8 + 024adc1 commit 0d67fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Controller/ClientFlowLoginV2Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function grantPage(?string $stateToken): StandaloneTemplateResponse {
187187
*/
188188
public function apptokenRedirect(?string $stateToken, string $user, string $password) {
189189
if ($stateToken === null) {
190-
return $this->loginTokenForbiddenResponse();
190+
return $this->stateTokenMissingResponse();
191191
}
192192

193193
if (!$this->isValidStateToken($stateToken)) {

0 commit comments

Comments
 (0)