Unverified Commit e286d714 authored by wundo's avatar wundo Committed by GitHub

Merge pull request #23 from chuva-inc/issue_3017521

Rename Captcha Points to Form Settings to help users configure forms
parents 1d21e686 5baf34dd
...@@ -10,5 +10,5 @@ captcha_examples: ...@@ -10,5 +10,5 @@ captcha_examples:
captcha_points.list: captcha_points.list:
route_name: captcha_point.list route_name: captcha_point.list
title: 'CAPTCHA Points' title: 'Form settings'
base_route: captcha_settings base_route: captcha_settings
...@@ -98,7 +98,7 @@ class CaptchaSettingsForm extends ConfigFormBase { ...@@ -98,7 +98,7 @@ class CaptchaSettingsForm extends ConfigFormBase {
$form['form_protection']['enabled_default'] = [ $form['form_protection']['enabled_default'] = [
'#type' => 'checkbox', '#type' => 'checkbox',
'#title' => $this->t('Default challenge on non-listed forms.'), '#title' => $this->t('Default challenge on non-listed forms.'),
'#description' => $this->t('Enable CAPTCHA for every form not listed in "CAPTCHA points"'), '#description' => $this->t('Enable CAPTCHA for every form not listed here'),
'#default_value' => $config->get('enabled_default'), '#default_value' => $config->get('enabled_default'),
]; ];
// Field for the CAPTCHA administration mode. // Field for the CAPTCHA administration mode.
......
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