commit a30a1c970365f78d45c123a04f8288ced7cd3390
parent 76687e2df7fd875b4cde4164dc1a4defc9665dd4
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Sun, 2 Jan 2022 23:46:32 +0100
Merge pull request #2194 from BlackDex/issue-2154
Fixed issue #2154
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/core/emergency_access.rs b/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))
}