Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update SecurityController.cs (#1489)

Leendert de Borsted320750c116
diff --git a/apps/server/AliasVault.Api/Controllers/Security/SecurityController.cs b/apps/server/AliasVault.Api/Controllers/Security/SecurityController.cs
index 80b16be00..b4545cb8b 100644
--- a/apps/server/AliasVault.Api/Controllers/Security/SecurityController.cs
+++ b/apps/server/AliasVault.Api/Controllers/Security/SecurityController.cs
@@ -102,6 +102,7 @@ public class SecurityController(IAliasServerDbContextFactory dbContextFactory, U
var authLogs = await context.AuthLogs
.Where(x => x.Username == user.UserName)
+ .Where(x => x.Timestamp >= user.CreatedAt)
.Where(x => x.EventType != AuthEventType.TokenRefresh)
.OrderByDescending(x => x.Timestamp)
.Take(50)