Daniel García
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/api/core/emergency_access.rs
|
|
@ -182,7 +182,7 @@ fn send_invite(data: JsonUpcase<EmergencyAccessInviteData>, headers: Headers, co |
|
|
|
|
|
|
|
let grantee_user = match User::find_by_mail(&email, &conn) { |
|
|
|
None => { |
|
|
|
if !CONFIG.signups_allowed() { |
|
|
|
if !CONFIG.invitations_allowed() { |
|
|
|
err!(format!("Grantee user does not exist: {}", email)) |
|
|
|
} |
|
|
|
|
|
|
|