mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-15 18:20:20 +00:00
Reword the error message shown when the password is incorrect
Signed-off-by: hunhejj <hunhejj@gmail.com>
This commit is contained in:
parent
b17561d41e
commit
5ec3fd2d3d
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class LoginController
|
||||||
return $response->withHeader('Location', '/')->withStatus(201);
|
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);
|
return $response->withHeader('Location', '/')->withStatus(422);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue