Logo
Explore Help
Register Sign In
starred/vaultwarden
1
0
Fork 0
You've already forked vaultwarden
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-12-16 17:23:05 +03:00
Code Issues 429 Packages Projects Releases 10 Wiki Activity
Files
a0eab35768ccb95c3ca7624b073ef402997b0278
vaultwarden/migrations/mysql/2021-08-30-193501_create_emergency_access/down.sql

2 lines
29 B
MySQL
Raw Normal View History

[PATCH] Some fixes to the Emergency Access PR - Changed the date of the migration folders to be from this date. - Removed a lot is_email_domain_allowed checks. This check only needs to be done during the invite it self, else everything else will fail even if a user has an account created via the /admin interface which bypasses that specific check! Also, the check was at the wrong place anyway's, since it would only not send out an e-mail, but would still have allowed an not allowed domain to be used when e-mail would have been disabled. While that check always works, even if sending e-mails is disasbled. - Added an extra allowed route during password/key-rotation change which updates/checks the public-key afterwards. - A small change with some `Some` and `None` orders. - Change the new invite object to only generate the UTC time once, since it could be possible that there will be a second difference, and we only need to call it just once. by black.dex@gmail.com Signed-off-by: thelittlefireman <thelittlefireman@users.noreply.github.com>
2021-09-01 12:54:47 +02:00
DROP TABLE emergency_access;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 33ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API