Skip to content
Snippets Groups Projects
Commit a51f456f authored by Flocon de toile's avatar Flocon de toile Committed by fabrice.scoyer
Browse files

Issue #3248981 by maxstarkenburg, flocondetoile: Reflect ability to use...

Issue #3248981 by maxstarkenburg, flocondetoile: Reflect ability to use wildcards in description text of bypassed IPs
parent 6d2b5efd
No related branches found
No related tags found
No related merge requests found
......@@ -92,9 +92,9 @@ class ProtectFormFloodControlSettings extends ConfigFormBase {
$default_whitelist = $config->get('general.whitelist') ? implode("\r\n", $config->get('general.whitelist')) : '';
$form['general']['whitelist'] = [
'#type' => 'textarea',
'#title' => $this->t('Whitelist of IP address'),
'#title' => $this->t('Allowed IP addresses'),
'#default_value' => $default_whitelist,
'#description' => $this->t('Specify IP address that should bypass Flood Control. Each IP address should be on a separate line.'),
'#description' => $this->t('Specify IP addresses that should bypass Flood Control. Each IP address should be on a separate line. Wildcard (*) characters can be used (for example, 192.0.2.*).'),
];
$form['general']['log'] = [
'#type' => 'checkbox',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment