Reword the error message shown when the password is incorrect

Signed-off-by: hunhejj <hunhejj@gmail.com>
This commit is contained in:
hunhejj 2024-01-19 14:35:53 +01:00 committed by Simon L
parent b17561d41e
commit 5ec3fd2d3d

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