File "settings.php"

Full path: /home/satitravel/public_html/plugins/better-wp-security/core/modules/brute-force/settings.php
File size: 380 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php

final class ITSEC_Brute_Force_Settings extends ITSEC_Settings {
	public function get_id() {
		return 'brute-force';
	}
	
	public function get_defaults() {
		return array(
			'max_attempts_host' => 5,
			'max_attempts_user' => 10,
			'check_period'      => 5,
			'auto_ban_admin'    => false,
		);
	}
}

ITSEC_Modules::register_settings( new ITSEC_Brute_Force_Settings() );