From c907c2fa3fd7c0a741117a0204d0ebca675124bd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Aug 2018 16:42:27 +0200 Subject: Improve error message on actor name conflict --- server/middlewares/validators/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/middlewares') 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: const actor = await ActorModel.loadLocalByName(username) if (actor) { res.status(409) - .send({ error: 'Another actor (account/channel) with this name already exists.' }) + .send({ error: 'Another actor (account/channel) with this name on this instance already exists or has already existed.' }) .end() return false } -- cgit v1.2.3