Skip to content

Commit

Permalink
hotfix(condo): HOTFIX fixed throw chaptcha error if disabled feature …
Browse files Browse the repository at this point in the history
…flag (#4454)
  • Loading branch information
Alllex202 authored Mar 7, 2024
1 parent fab46fe commit 4530ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/condo/domains/user/utils/googleRecaptcha3.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const captchaCheck = async (token, action = '', context = {}) => {
const isFeatureEnabled = await featureToggleManager.isFeatureEnabled(context, CAPTCHA_CHECK_ENABLED)
if (!isFeatureEnabled) {
logger.info({ msg: 'Captcha check id disabled' })
return
return { error: null }
}

const source = getRequestSource(context)
Expand Down

0 comments on commit 4530ebb

Please sign in to comment.