mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Made correction to the domain used to domains that have been unverified after 72 hours. Instead of doing a greater than or equal to the condition is set to a fixed period 4, so domains after 4 days which are uneverified would not be picked up by the service (#2729)
This commit is contained in:
@ -0,0 +1,14 @@
|
||||
CREATE OR ALTER PROCEDURE [dbo].[OrganizationDomain_ReadIfExpired]
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT OFF
|
||||
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
[dbo].[OrganizationDomain]
|
||||
WHERE
|
||||
DATEDIFF(DAY, [CreationDate], GETUTCDATE()) = 4 --Get domains that have not been verified after 3 days (72 hours)
|
||||
AND
|
||||
[VerifiedDate] IS NULL
|
||||
END
|
Reference in New Issue
Block a user