0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-05 23:28:57 +01:00
bitwarden_rs/migrations/mysql
BlackDex d6e0ace192
Fix Login With Device without MasterPassword
It looks like either something changed in the latest v2023.8.x versions,
or when using Biometrics to login, but the MasterPasswordHash is an
optional value during the Approve action.

This PR makes the MasterPasswordHash an optional value which resolves
this issues. Bitwarden works the same way.

I also changed the EncKey to an Option in the database since empty
strings as a default value is not nice in databases, better to use
`null` in these cases.

Fixes #3819
2023-09-01 21:03:50 +02:00
..
2018-01-14-171611_create_tables
2018-02-17-205753_create_collections_and_orgs
2018-04-27-155151_create_users_ciphers
2018-05-08-161616_create_collection_cipher_map
2018-05-25-232323_update_attachments_reference
2018-06-01-112529_update_devices_twofactor_remember
2018-07-11-181453_create_u2f_twofactor
2018-08-27-172114_update_ciphers
2018-09-10-111213_add_invites
2018-09-19-144557_add_kdf_columns
2018-11-27-152651_add_att_key_columns
2019-05-26-216651_rename_key_and_type_columns
2019-10-10-083032_add_column_to_twofactor
2019-11-17-011009_add_email_verification
2020-03-13-205045_add_policy_table
2020-04-09-235005_add_cipher_delete_date
2020-07-01-214531_add_hide_passwords
2020-08-02-025025_add_favorites_table
2020-11-30-224000_add_user_enabled
2020-12-09-173101_add_stamp_exception
2021-03-11-190243_add_sends
2021-04-30-233251_add_reprompt
2021-05-11-205202_add_hide_email
2021-07-01-203140_add_password_reset_keys
2021-08-30-193501_create_emergency_access
2021-10-24-164321_add_2fa_incomplete
2022-01-17-234911_add_api_key
2022-03-02-210038_update_devices_primary_key
2022-07-27-110000_add_group_support
2022-10-18-170602_add_events Add Organizational event logging feature 2022-11-27 23:36:34 +01:00
2023-01-06-151600_add_reset_password_support Replaced wrong mysql column type 2023-02-04 09:23:13 +01:00
2023-01-11-205851_add_avatar_color Add avatar color support 2023-01-11 22:20:03 +01:00
2023-01-31-222222_add_argon2 add argon2 kdf fields 2023-02-07 13:52:52 -05:00
2023-02-18-125735_push_uuid_table feat: Push Notifications 2023-06-11 13:28:18 +02:00
2023-06-02-200424_create_organization_api_key Merge and modify PR from @Kurnihil 2023-06-13 08:51:07 +02:00
2023-06-17-200424_create_auth_requests_table Implement login-with-device 2023-08-13 17:54:18 +02:00
2023-06-28-133700_add_collection_external_id Added-External_id for Collections 2023-07-04 20:26:03 +02:00
2023-09-01-170620_update_auth_request_table Fix Login With Device without MasterPassword 2023-09-01 21:03:50 +02:00