mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 05:26:43 +00:00
misc: updated failed password attempt limit for captcha
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user