Browse Source

final changes to make it Work

master
root 2 weeks ago
parent
commit
7fa7b2165f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      deploy/3.1.3_1-hcaptcha-registrations.patch

+ 3
- 3
deploy/3.1.3_1-hcaptcha-registrations.patch View File

@@ -122,9 +122,9 @@
.fields-group
= f.input :agreement, as: :boolean, wrapper: :with_label, label: t('auth.checkbox_agreement_html', rules_path: about_more_path, terms_path: terms_path), disabled: closed_registrations?
+ - if ENV['HCAPTCHA_ENABLED'] == 'true':
+ .fields-group
+ = hcaptcha_tags
+ - if ENV['HCAPTCHA_ENABLED'] == 'true'
+ .fields-group
+ = hcaptcha_tags
+
.actions
= f.button :button, sign_up_message, type: :submit, class: 'button button-primary', disabled: closed_registrations?


Loading…
Cancel
Save