config; $settings = array( 'service.secure_login.single_session' => array( 'title' => __('One Session Per User', 'advanced-access-manager'), 'description' => sprintf(AAM_Backend_View_Helper::preparePhrase('Automatically destroy all other sessions for a user if he/she tries to login from different location. For more information refer to the %sOne Session Per User%s page.', 'strong', 'strong'), '', ''), 'value' => $configs->get('service.secure_login.single_session') ), 'service.secure_login.brute_force_lockout' => array( 'title' => __('Brute Force Lockout', 'advanced-access-manager'), 'description' => sprintf(AAM_Backend_View_Helper::preparePhrase('Automatically reject login request if number of unsuccessful attempts exceeds 20 over the period of 2 minutes (both values are configurable). For more information refer to the %sBrute Force Lockout%s page.', 'strong', 'strong'), '', ''), 'value' => $configs->get('service.secure_login.brute_force_lockout') ), 'service.secure_login.track_last_access' => array( 'title' => __('Track Last User Access', 'advanced-access-manager'), 'description' => __('Store the time (UTC) and IP address of each user’s most recent access to the site in user metadata.', 'advanced-access-manager'), 'value' => $configs->get('service.secure_login.track_last_access', true) ), ); return apply_filters('aam_settings_list_filter', $settings, 'security'); } /** * Register security settings * * @return void * @access public * * @version 7.0.0 */ public static function register() { AAM_Backend_Feature::registerFeature((object) array( 'uid' => 'settings-security', 'position' => 6, 'title' => __('Security Settings', 'advanced-access-manager'), 'capability' => self::ACCESS_CAPABILITY, 'type' => 'settings', 'view' => __CLASS__ )); } }