1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00

Display error on wrong password

This commit is contained in:
Adria Navarro 2024-01-16 11:07:03 +01:00
parent 6db96a7af0
commit 0ed8464aab

View file

@ -425,6 +425,6 @@ export const inviteAccept = async (
ctx.throw(400, err) ctx.throw(400, err)
} }
console.warn("Error inviting user", 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.")
} }
} }