diff --git a/apps/server/AliasVault.Admin/Services/StatisticsService.cs b/apps/server/AliasVault.Admin/Services/StatisticsService.cs index 08c1a7897..3c1227893 100644 --- a/apps/server/AliasVault.Admin/Services/StatisticsService.cs +++ b/apps/server/AliasVault.Admin/Services/StatisticsService.cs @@ -624,6 +624,7 @@ public class StatisticsService .Where(al => al.Timestamp >= cutoffDate && al.IpAddress != null && al.IpAddress != "xxx.xxx.xxx.xxx" && + al.IsSuccess && al.EventType == AuthEventType.AccountDeletion) .GroupBy(al => al.IpAddress) .Select(g => new @@ -656,6 +657,7 @@ public class StatisticsService var topUsernames = await context.AuthLogs .Where(al => al.Timestamp >= cutoffDate && al.Username != null && + al.IsSuccess && al.EventType == AuthEventType.AccountDeletion) .GroupBy(al => al.Username) .Select(g => new