1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-25 12:22:42 +01:00

Add more detail to invitation not found error

This commit is contained in:
Nick Fox 2018-12-29 23:28:19 -05:00
parent 84fa5a4ed6
commit 3142d8d01f
No known key found for this signature in database
GPG Key ID: 82719985805A7CA8

View File

@ -531,7 +531,7 @@ fn reinvite_user(org_id: String, user_uuid: String, _data: JsonUpcase<InviteData
};
if Invitation::find_by_mail(&user.email, &conn).is_none() {
err!("No invitation found for user.")
err!("No invitation found for user to resend. Try inviting them first.")
}
let mut org_user_id = None;