mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-05 09:11:25 +02:00
16 lines
376 B
PHP
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'));
|
|
}
|
|
}
|