From eb86fff0e4041369b2cc025a8fd3729e220084ee Mon Sep 17 00:00:00 2001 From: Stavros Date: Mon, 23 Mar 2026 16:15:40 +0200 Subject: [PATCH] fix: fix typo --- internal/service/auth_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/auth_service.go b/internal/service/auth_service.go index 8acbabe..e81e7c5 100644 --- a/internal/service/auth_service.go +++ b/internal/service/auth_service.go @@ -242,7 +242,7 @@ func (auth *AuthService) RecordLoginAttempt(identifier string, success bool) { defer auth.loginMutex.Unlock() if len(auth.loginAttempts) >= MaxLoginAttemptRecords { - if auth.lockdown != nil || !auth.lockdown.Active { + if auth.lockdown != nil && auth.lockdown.Active { return } go auth.lockdownMode()