Browse Source
Merge pull request #2078 from jjlin/fix-ea-reject
Fix missing encrypted key after emergency access reject
pull/2084/head
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
0 additions and
1 deletions
-
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.status = EmergencyAccessStatus::Confirmed as i32; |
|
|
emergency_access.key_encrypted = None; |
|
|
|
|
|
emergency_access.save(&conn)?; |
|
|
emergency_access.save(&conn)?; |
|
|
|
|
|
|
|
|
if CONFIG.mail_enabled() { |
|
|
if CONFIG.mail_enabled() { |
|
|