mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
Reword the error message shown when the password is incorrect
Signed-off-by: hunhejj <hunhejj@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user