mirror of
https://github.com/bitwarden/server.git
synced 2024-12-01 13:43:23 +01:00
b070e9a387
* Added UnknownDeviceVerificationEnabled on User that is turned off when emergency contact takes over the account. Also added endpoints to get and update 2fa device verification settings. And Updated migrations & tests * Applied dotnet format * Fixed method rename call on TwoFactorController * PS-589 Format fixes * PS-589 changed UnknownDeviceVerificationEnabled to be non-nullable
8 lines
251 B
SQL
8 lines
251 B
SQL
START TRANSACTION;
|
|
|
|
ALTER TABLE `User` ADD `UnknownDeviceVerificationEnabled` tinyint(1) NOT NULL DEFAULT 1;
|
|
|
|
INSERT INTO `__EFMigrationsHistory` (`MigrationId`, `ProductVersion`)
|
|
VALUES ('20220524171600_DeviceUnknownVerification', '5.0.12');
|
|
|
|
COMMIT; |