0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-05-18 21:03:51 +02:00

Merge pull request #2194 from BlackDex/issue-2154

Fixed issue #2154
This commit is contained in:
Daniel García 2022-01-02 23:46:32 +01:00 committed by GitHub
commit a30a1c9703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))
}