mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-25 13:20:23 +00:00
Merge pull request #2078 from jjlin/fix-ea-reject
Fix missing encrypted key after emergency access reject
This commit is contained in:
commit
88643fd9d5
1 changed files with 0 additions and 1 deletions
|
@ -539,7 +539,6 @@ fn reject_emergency_access(emer_id: String, headers: Headers, conn: DbConn) -> J
|
|||
};
|
||||
|
||||
emergency_access.status = EmergencyAccessStatus::Confirmed as i32;
|
||||
emergency_access.key_encrypted = None;
|
||||
emergency_access.save(&conn)?;
|
||||
|
||||
if CONFIG.mail_enabled() {
|
||||
|
|
Loading…
Reference in a new issue