aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/middlewares/validators/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts
index 49bc0bb56..6ea3d0b6c 100644
--- a/server/middlewares/validators/users.ts
+++ b/server/middlewares/validators/users.ts
@@ -250,7 +250,7 @@ async function checkUserNameOrEmailDoesNotAlreadyExist (username: string, email:
250 250
251 if (user) { 251 if (user) {
252 res.status(409) 252 res.status(409)
253 .send({ error: 'User with this username of email already exists.' }) 253 .send({ error: 'User with this username or email already exists.' })
254 .end() 254 .end()
255 return false 255 return false
256 } 256 }