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-17 01:10:53 +03:00
Code Issues 429 Packages Projects Releases 10 Wiki Activity
Files
d6b97090fab5eba429a79c35735a0760b2fa9ee2
vaultwarden/migrations/postgresql/2023-09-01-170620_update_auth_request_table/up.sql

6 lines
138 B
MySQL
Raw Normal View History

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
ALTER TABLE auth_requests
ALTER COLUMN master_password_hash DROP NOT NULL;
ALTER TABLE auth_requests
ALTER COLUMN enc_key DROP NOT NULL;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 67ms Template: 3ms
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