silverstripe-framework/tests/php/Security/MemberTest/TestPasswordValidator.php

17 lines
393 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Security\Tests\MemberTest;
use SilverStripe\Security\PasswordValidator;
class TestPasswordValidator extends PasswordValidator
{
public function __construct()
{
$this->setMinLength(7);
$this->setHistoricCount(6);
$this->setMinTestScore(3);
$this->setTestNames(['lowercase', 'uppercase', 'digits', 'punctuation']);
}
2016-10-14 03:30:05 +02:00
}