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

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);
}