commit 88643fd9d57c0378a0431c2862c8d5f52426bf69
parent 73e0002219746a3b8beddecac940e902bff5d209
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Mon, 1 Nov 2021 14:33:39 +0100
Merge pull request #2078 from jjlin/fix-ea-reject
Fix missing encrypted key after emergency access reject
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/api/core/emergency_access.rs b/src/api/core/emergency_access.rs
@@ -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() {