0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-12-12 16:53:05 +01:00
bitwarden_rs/migrations/postgresql/2023-09-01-170620_update_auth_request_table
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
..
down.sql Fix Login With Device without MasterPassword 2023-09-01 21:03:50 +02:00
up.sql Fix Login With Device without MasterPassword 2023-09-01 21:03:50 +02:00