vaultwarden/src
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
..
api Fix Login With Device without MasterPassword 2023-09-01 21:03:50 +02:00
db Fix Login With Device without MasterPassword 2023-09-01 21:03:50 +02:00
static Update admin interface 2023-08-31 21:14:53 +02:00
auth.rs Allow Authorization header for Web Sockets 2023-08-31 12:35:20 +02:00
config.rs Implement login-with-device 2023-08-13 17:54:18 +02:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Cleanups and Fixes for Emergency Access 2022-12-04 23:17:48 +01:00
mail.rs Change String to &str for all Rocket functions 2023-04-30 17:18:12 +02:00
main.rs Implement login-with-device 2023-08-13 17:54:18 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Update Rust and Crates 2023-08-31 22:45:53 +02:00