aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/validators/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/validators/users.ts')
-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 f47fa8b48..c8baf22e2 100644
--- a/server/middlewares/validators/users.ts
+++ b/server/middlewares/validators/users.ts
@@ -286,7 +286,7 @@ async function checkUserNameOrEmailDoesNotAlreadyExist (username: string, email:
286 const actor = await ActorModel.loadLocalByName(username) 286 const actor = await ActorModel.loadLocalByName(username)
287 if (actor) { 287 if (actor) {
288 res.status(409) 288 res.status(409)
289 .send({ error: 'Another actor (account/channel) with this name already exists.' }) 289 .send({ error: 'Another actor (account/channel) with this name on this instance already exists or has already existed.' })
290 .end() 290 .end()
291 return false 291 return false
292 } 292 }