diff --git a/src/Sql/dbo/Stored Procedures/User_Create.sql b/src/Sql/dbo/Stored Procedures/User_Create.sql index c5d49a189e..769ef0e924 100644 --- a/src/Sql/dbo/Stored Procedures/User_Create.sql +++ b/src/Sql/dbo/Stored Procedures/User_Create.sql @@ -34,7 +34,7 @@ @UsesKeyConnector BIT = 0, @FailedLoginCount INT = 0, @LastFailedLoginDate DATETIME2(7), - @UnknownDeviceVerificationEnabled BIT NULL + @UnknownDeviceVerificationEnabled BIT = 1 AS BEGIN SET NOCOUNT ON diff --git a/src/Sql/dbo/Stored Procedures/User_Update.sql b/src/Sql/dbo/Stored Procedures/User_Update.sql index 91fdfe3efa..30575f7266 100644 --- a/src/Sql/dbo/Stored Procedures/User_Update.sql +++ b/src/Sql/dbo/Stored Procedures/User_Update.sql @@ -34,7 +34,7 @@ @UsesKeyConnector BIT = 0, @FailedLoginCount INT, @LastFailedLoginDate DATETIME2(7), - @UnknownDeviceVerificationEnabled BIT NULL + @UnknownDeviceVerificationEnabled BIT = 1 AS BEGIN SET NOCOUNT ON diff --git a/util/Migrator/DbScripts/2022-05-24_00_DeviceUnknownVerification.sql b/util/Migrator/DbScripts/2022-05-24_00_DeviceUnknownVerification.sql index 4e05922176..6064820e9c 100644 --- a/util/Migrator/DbScripts/2022-05-24_00_DeviceUnknownVerification.sql +++ b/util/Migrator/DbScripts/2022-05-24_00_DeviceUnknownVerification.sql @@ -195,7 +195,7 @@ CREATE PROCEDURE [dbo].[User_Update] @UsesKeyConnector BIT = 0, @FailedLoginCount INT, @LastFailedLoginDate DATETIME2(7), - @UnknownDeviceVerificationEnabled BIT NULL + @UnknownDeviceVerificationEnabled BIT = 1 AS BEGIN SET NOCOUNT ON