diff --git a/Gemfile b/Gemfile index 89f3f42e..2a355dbc 100644 --- a/Gemfile +++ b/Gemfile @@ -26,7 +26,7 @@ gem "fog-aws" gem "fog-core" gem "fog-local" gem "haml", "~> 5.0" -gem "hcaptcha", "~> 6.0" +gem "hcaptcha", "~> 7.0" gem "mini_magick" gem "rqrcode" diff --git a/Gemfile.lock b/Gemfile.lock index 4c89f8c6..763d7bbb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -594,7 +594,7 @@ DEPENDENCIES guard-brakeman haml (~> 5.0) haml_lint - hcaptcha (~> 6.0) + hcaptcha (~> 7.0) httparty i18n-js (= 3.9.2) jbuilder (~> 2.10) diff --git a/app/views/devise/registrations/new.haml b/app/views/devise/registrations/new.haml index 68fbe38a..698e63b9 100644 --- a/app/views/devise/registrations/new.haml +++ b/app/views/devise/registrations/new.haml @@ -15,7 +15,7 @@ = f.password_field :password_confirmation, autocomplete: "new-password" - if APP_CONFIG.dig(:hcaptcha, :enabled) - = hcaptcha_tags + = hcaptcha_tags theme: :light %p= raw t(".info", terms: link_to(t("voc.terms"), terms_path)) = f.primary