silverstripe-framework/tests/php/Security/MemberTest/TestPasswordValidator.php
Damian Mooyman fba8e2c245 API Remove Object class
API DataObjectSchema::manyManyComponent() return array is now associative array
2017-05-23 13:50:35 +12:00

16 lines
376 B
PHP

<?php
namespace SilverStripe\Security\Tests\MemberTest;
use SilverStripe\Security\PasswordValidator;
class TestPasswordValidator extends PasswordValidator
{
public function __construct()
{
$this->minLength(7);
$this->checkHistoricalPasswords(6);
$this->characterStrength(3, array('lowercase', 'uppercase', 'digits', 'punctuation'));
}
}