fix validator
This commit is contained in:
parent
30ece2d36a
commit
28ac6c9355
1 changed files with 3 additions and 1 deletions
|
@ -13,9 +13,11 @@ class PasswordHistory extends Password
|
|||
{
|
||||
protected array $history;
|
||||
|
||||
public function __construct(array $history)
|
||||
public function __construct(array $history, string $algo, array $algoOptions = [])
|
||||
{
|
||||
$this->history = $history;
|
||||
$this->algo = $algo;
|
||||
$this->algoOptions = $algoOptions;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue