commit 3142d8d01f7dc0c0d1f8c5d996a6218e27d5e96a parent 84fa5a4ed6b4cbbec7cf21ff22a067b14a2f66d5 Author: Nick Fox <nick@foxsec.net> Date: Sat, 29 Dec 2018 23:28:19 -0500 Add more detail to invitation not found error Diffstat:
M | src/api/core/organizations.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs @@ -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;