File "validator.php"
Full path: /home/satitravel/public_html/plugins/better-wp-security/core/modules/strong-passwords/validator.php
File
size: 435 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
class ITSEC_Strong_Passwords_Validator extends ITSEC_Validator {
public function get_id() {
return 'strong-passwords';
}
protected function sanitize_settings() {
$this->sanitize_setting( array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' ), 'role', __( 'Select Role for Strong Passwords', 'better-wp-security' ) );
}
}
ITSEC_Modules::register_validator( new ITSEC_Strong_Passwords_Validator() );