mirror of
https://github.com/ViViDboarder/bitwarden_rs.git
synced 2024-12-22 19:47:45 +00:00
Add more detail to invitation not found error
This commit is contained in:
parent
84fa5a4ed6
commit
3142d8d01f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user