Display error on wrong password

This commit is contained in:
Adria Navarro 2024-01-16 11:07:03 +01:00
parent 6db96a7af0
commit 0ed8464aab
1 changed files with 1 additions and 1 deletions

View File

@ -425,6 +425,6 @@ export const inviteAccept = async (
ctx.throw(400, err)
}
console.warn("Error inviting user", err)
ctx.throw(400, "Unable to create new user, invitation invalid.")
ctx.throw(400, err || "Unable to create new user, invitation invalid.")
}
}