1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-06-01 00:13:56 +00:00
vaultwarden/src
Stefan Melmuk e9aa5a545e
fix emergency access invites (#4337)
* fix emergency access invites with no mail

when mail is disabled instead of accepting emergency access for all
invited users automatically, we only accept if the user already exists

on registration of a new account any open emergency access invitations
will be accepted, if mail is disabled

also prevent invited emergency access contacts to register if emergency
access is disabled (this is only relevant for when mail is enabled, if
mail is disabled they should have an Invitation entry)

* delete emergency access invitations

if an invited user is deleted in the /admin panel their emergency
access invitation will remain in the database which causes
the to_json_grantee_details fn to panic

* improve missing emergency access grantees

instead of returning an empty emergency access contact the entry should
not be added to the list. also the error handling can be improved a bit.
2024-04-27 22:16:05 +02:00
..
api fix emergency access invites (#4337) 2024-04-27 22:16:05 +02:00
db fix emergency access invites (#4337) 2024-04-27 22:16:05 +02:00
static Small improvements around email change (#4415) 2024-03-17 19:55:03 +01:00
auth.rs improve access to collections via groups (#4441) 2024-04-27 22:09:00 +02:00
config.rs automatically use email address as 2fa provider (#4317) 2024-03-17 22:35:02 +01:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Remove custom WebSocket code (#4001) 2024-03-17 19:52:55 +01:00
mail.rs Add Protected Actions Check (#4067) 2023-11-12 22:15:44 +01:00
main.rs Implement custom DNS resolver (#3988) 2024-04-27 20:25:34 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Implement custom DNS resolver (#3988) 2024-04-27 20:25:34 +02:00