Reformulate some words to be better looking, also the logs should look better now.
This commit is contained in:
parent
5487cbf061
commit
2a84bcce21
@ -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(),
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user