Improve error message on actor name conflict
This commit is contained in:
parent
2db85d6b6e
commit
c907c2fa3f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue