Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: updated failed password attempt limit for captcha

Sheen Capadngan610dd07a57a7
diff --git a/backend/src/services/auth/auth-login-service.ts b/backend/src/services/auth/auth-login-service.ts
index 2f8a7c578c..dc5a39008c 100644
--- a/backend/src/services/auth/auth-login-service.ts
+++ b/backend/src/services/auth/auth-login-service.ts
@@ -203,7 +203,7 @@ export const authLoginServiceFactory = ({
if (
user.consecutiveFailedPasswordAttempts &&
- user.consecutiveFailedPasswordAttempts > 10 &&
+ user.consecutiveFailedPasswordAttempts >= 10 &&
appCfg.CAPTCHA_ENABLED
) {
if (!captchaToken) {