1
0
Fork 0
mirror of synced 2024-06-28 11:00:55 +12: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)
}
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.")
}
}