Reformulate some words to be better looking, also the logs should look better now.

This commit is contained in:
Midou36O 2024-02-27 15:29:50 +01:00
parent 5487cbf061
commit 2a84bcce21
Signed by: midou
GPG Key ID: 1D134A95FE521A7A

View File

@ -103,10 +103,10 @@ func SignupPage(c *fiber.Ctx) error {
// We'll check the home folder and see if the username folder exists.
_, err := os.Stat("/home/" + username)
if err == nil {
log.Error("User already exists", username)
log.Error("User already exists : ", username)
return c.JSON(fiber.Map{
"username": username,
"message": "User already exists, Choose a different username.",
"message": "User already exists. Please choose a different username.",
"status": c.Response().StatusCode(),
})
}