mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix validator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user