misc: updated failed password attempt limit for captcha

This commit is contained in:
Sheen Capadngan
2024-06-08 00:39:14 +08:00
parent 9d6d7540dc
commit 610dd07a57
@@ -203,7 +203,7 @@ export const authLoginServiceFactory = ({
if ( if (
user.consecutiveFailedPasswordAttempts && user.consecutiveFailedPasswordAttempts &&
user.consecutiveFailedPasswordAttempts > 10 && user.consecutiveFailedPasswordAttempts >= 10 &&
appCfg.CAPTCHA_ENABLED appCfg.CAPTCHA_ENABLED
) { ) {
if (!captchaToken) { if (!captchaToken) {