CodePinch.php
9 years ago
Helper.php
9 years ago
Localization.php
9 years ago
PostOptionList.php
9 years ago
SecurityOptionList.php
9 years ago
UtilityOptionList.php
9 years ago
SecurityOptionList.php
26 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * ====================================================================== |
| 5 | * LICENSE: This file is subject to the terms and conditions defined in * |
| 6 | * file 'license.txt', which is part of this source code package. * |
| 7 | * ====================================================================== |
| 8 | */ |
| 9 | |
| 10 | return array( |
| 11 | 'login-timeout' => array( |
| 12 | 'title' => __('Login Timeout', AAM_KEY), |
| 13 | 'descr' => sprintf(__('Delay the login process for %s second to significantly reduce the chance for brute force or dictionary attack.', AAM_KEY), AAM_Core_Config::get('security.login.timeout', 1)), |
| 14 | 'value' => AAM_Core_Config::get('login-timeout', false) |
| 15 | ), |
| 16 | 'login-ip-track' => array( |
| 17 | 'title' => __('Track IP Address', AAM_KEY), |
| 18 | 'descr' => __('Track the IP address for the last successful user login and trigger double authentication via email when the same username/password combination is used to login from a different IP address.', AAM_KEY), |
| 19 | 'value' => AAM_Core_Config::get('login-ip-track', false), |
| 20 | ), |
| 21 | 'brute-force-lockout' => array( |
| 22 | 'title' => __('Brute Force Lockout', AAM_KEY), |
| 23 | 'descr' => sprintf(__('Automatically reject login attempts if number of unsuccessful login attempts is more than %s over the period of %s.', AAM_KEY), AAM_Core_Config::get('security.login.attempts', 20), AAM_Core_Config::get('security.login.period', '2 minutes')), |
| 24 | 'value' => AAM_Core_Config::get('brute-force-lockout', false), |
| 25 | ) |
| 26 | ); |