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-14 17:23:21 +03:00
Code Issues 429 Packages Projects Releases 10 Wiki Activity
Files
2ee40d6105131174fd7be185ef14fc782fcffffb
vaultwarden/migrations/mysql/2023-09-01-170620_update_auth_request_table/up.sql

6 lines
108 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
MODIFY master_password_hash TEXT;
ALTER TABLE auth_requests
MODIFY enc_key TEXT;
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 342ms 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