mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 06:29:04 +00:00
misc: simplified captcha flag and finalized build process
This commit is contained in:
@@ -204,7 +204,7 @@ export const authLoginServiceFactory = ({
|
||||
if (
|
||||
user.consecutiveFailedPasswordAttempts &&
|
||||
user.consecutiveFailedPasswordAttempts >= 10 &&
|
||||
appCfg.CAPTCHA_ENABLED
|
||||
Boolean(appCfg.CAPTCHA_SECRET)
|
||||
) {
|
||||
if (!captchaToken) {
|
||||
throw new BadRequestError({
|
||||
|
||||
Reference in New Issue
Block a user