diff options
Diffstat (limited to 'server/middlewares')
-rw-r--r-- | server/middlewares/validators/users.ts | 2 |
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 | } |