mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05:00
[PS-589] Fix DeviceUnknownVerification User_Update proc (#2041)
* PS-589 Fix 2022-05-24_00_DeviceUnknownVerification User_Update proc to remove the NULL and set the default value * PS-589 updated stored procedures on Sql project to have UnknownDeviceVerificationEnabled with default 1 instead of NULL
This commit is contained in:
parent
76e0790ff8
commit
e3699156de
@ -34,7 +34,7 @@
|
|||||||
@UsesKeyConnector BIT = 0,
|
@UsesKeyConnector BIT = 0,
|
||||||
@FailedLoginCount INT = 0,
|
@FailedLoginCount INT = 0,
|
||||||
@LastFailedLoginDate DATETIME2(7),
|
@LastFailedLoginDate DATETIME2(7),
|
||||||
@UnknownDeviceVerificationEnabled BIT NULL
|
@UnknownDeviceVerificationEnabled BIT = 1
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
SET NOCOUNT ON
|
SET NOCOUNT ON
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
@UsesKeyConnector BIT = 0,
|
@UsesKeyConnector BIT = 0,
|
||||||
@FailedLoginCount INT,
|
@FailedLoginCount INT,
|
||||||
@LastFailedLoginDate DATETIME2(7),
|
@LastFailedLoginDate DATETIME2(7),
|
||||||
@UnknownDeviceVerificationEnabled BIT NULL
|
@UnknownDeviceVerificationEnabled BIT = 1
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
SET NOCOUNT ON
|
SET NOCOUNT ON
|
||||||
|
@ -195,7 +195,7 @@ CREATE PROCEDURE [dbo].[User_Update]
|
|||||||
@UsesKeyConnector BIT = 0,
|
@UsesKeyConnector BIT = 0,
|
||||||
@FailedLoginCount INT,
|
@FailedLoginCount INT,
|
||||||
@LastFailedLoginDate DATETIME2(7),
|
@LastFailedLoginDate DATETIME2(7),
|
||||||
@UnknownDeviceVerificationEnabled BIT NULL
|
@UnknownDeviceVerificationEnabled BIT = 1
|
||||||
AS
|
AS
|
||||||
BEGIN
|
BEGIN
|
||||||
SET NOCOUNT ON
|
SET NOCOUNT ON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user