mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 17:12:49 -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:
@ -119,7 +119,7 @@ public class OrganizationDomainRepository : Repository<Core.Entities.Organizatio
|
||||
//Get domains that have not been verified after 72 hours
|
||||
var domains = dbContext.OrganizationDomains
|
||||
.AsEnumerable()
|
||||
.Where(x => (DateTime.UtcNow - x.CreationDate).Days >= 4
|
||||
.Where(x => (DateTime.UtcNow - x.CreationDate).Days == 4
|
||||
&& x.VerifiedDate == null)
|
||||
.ToList();
|
||||
|
||||
|
Reference in New Issue
Block a user