Merge pull request #4083 from nextcloud/reword-error-message

Reword the error message shown when the password is incorrect
This commit is contained in:
Simon L 2024-01-24 12:00:37 +01:00 committed by GitHub
commit 03c7051c9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,7 +30,7 @@ class LoginController
return $response->withHeader('Location', '/')->withStatus(201);
}
$response->getBody()->write("The password is false.");
$response->getBody()->write("The password is incorrect.");
return $response->withHeader('Location', '/')->withStatus(422);
}