mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Merge pull request #4083 from nextcloud/reword-error-message
Reword the error message shown when the password is incorrect
This commit is contained in:
commit
03c7051c9a
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