Source of file NZGovtPasswordValidator.php
Size: 0,454 Bytes - Last Modified: 2021-12-23T10:34:12+00:00
/var/www/docs.ssmods.com/process/src/code/validators/NZGovtPasswordValidator.php
1234567891011121314151617 | <?php /** * This {@link PasswordValidator} implements the NZ E-Government Guidelines for passwords * @package sapphire * @subpackage security */ class NZGovtPasswordValidator extends PasswordValidator { public function __construct() { parent::__construct(); $this->minLength(7); $this->checkHistoricalPasswords(6); $this->characterStrength(3, array('lowercase', 'uppercase', 'digits', 'punctuation')); } } |