Commit d8a66f30 authored by Michael Kozono's avatar Michael Kozono

Merge branch 'nicolasdular/201728-fix-feature-flag' into 'master'

Fix incorrect feature flag check

Closes #201728

See merge request gitlab-org/gitlab!24253
parents e1547299 bca4864c
......@@ -8,7 +8,7 @@ module InvisibleCaptcha
end
def on_honeypot_spam_callback
return unless Feature.enabled?(:invisible_captcha) || experiment_enabled?(:signup_flow)
return unless Feature.enabled?(:invisible_captcha)
invisible_captcha_honeypot_counter.increment
log_request('Invisible_Captcha_Honeypot_Request')
......@@ -17,7 +17,7 @@ module InvisibleCaptcha
end
def on_timestamp_spam_callback
return unless Feature.enabled?(:invisible_captcha) || experiment_enabled?(:signup_flow)
return unless Feature.enabled?(:invisible_captcha)
invisible_captcha_timestamp_counter.increment
log_request('Invisible_Captcha_Timestamp_Request')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment