mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(client-login-flow): Use correct response for missing state token
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
2c05c2479e
commit
024adc14b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue