New Setting: block create account spam by ip

This commit is contained in:
slawkens
2026-02-06 20:26:14 +01:00
parent bd87881ad0
commit 54265f42e9
2 changed files with 23 additions and 0 deletions

View File

@@ -1744,6 +1744,18 @@ Sent by MyAAC,<br/>
'account_login_ipban_protection', '=', 'true'
]
],
[
'type' => 'section',
'title' => 'Cooldowns',
],
'account_create_ip_block_cooldown' => [
'name' => 'Create Account IP Block Cooldown',
'type' => 'number',
'desc' => 'Block flooding create account per ip. If you still have a problem with account create spam - then its recommended to install the recaptcha plugin.' .
'<br/><strong>In minutes.</strong> 0 to disable.',
'default' => 10,
],
],
'callbacks' => [
'beforeSave' => function(&$settings, &$values) {