From cd71b4b5caff13a21fe48e28cbe32e8c14af5a77 Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Thu, 18 Jul 2024 13:03:35 +0300 Subject: [PATCH] temp turn off english auction captcha --- app/controllers/concerns/recaptcha_validatable.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/concerns/recaptcha_validatable.rb b/app/controllers/concerns/recaptcha_validatable.rb index c4585d463..060740897 100644 --- a/app/controllers/concerns/recaptcha_validatable.rb +++ b/app/controllers/concerns/recaptcha_validatable.rb @@ -2,8 +2,8 @@ module RecaptchaValidatable extend ActiveSupport::Concern included do - before_action :set_captcha_required - before_action :check_recaptcha, only: %i[create update], unless: -> { Rails.env.development? || Rails.env.test? } + # before_action :set_captcha_required + # before_action :check_recaptcha, only: %i[create update], unless: -> { Rails.env.development? || Rails.env.test? } end module ClassMethods