From 5ec3fd2d3d54a15f3dc56ecbef9769fc9ac1c2a8 Mon Sep 17 00:00:00 2001 From: hunhejj Date: Fri, 19 Jan 2024 14:35:53 +0100 Subject: [PATCH] Reword the error message shown when the password is incorrect Signed-off-by: hunhejj --- php/src/Controller/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/Controller/LoginController.php b/php/src/Controller/LoginController.php index 954cf494..787ec6e1 100644 --- a/php/src/Controller/LoginController.php +++ b/php/src/Controller/LoginController.php @@ -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); }