don't nullify key when editing emergency access #1760

Closed
opened 2026-04-06 02:21:09 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @stefan0xC on 2/1/2023

I've looked into this some more and the client does not send the key while editing an emergency access contact, so the field would be emptied on a change of the wait days or access level.

This simple fix should hopefully prevent issues like #3196 where the key has been set to NULL.

Closes #3196

*Originally created by @stefan0xC on 2/1/2023* I've looked into this some more and the client [does not send the key](https://github.com/bitwarden/clients/blob/7ebedbecfbbdfe17b011ca6490bf98fdd5116016/apps/web/src/app/settings/emergency-access-add-edit.component.ts#L74-L78) while editing an emergency access contact, so the field would be emptied on a change of the wait days or access level. This simple fix should hopefully prevent issues like #3196 where the key has been set to `NULL`. Closes #3196
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1760