diff --git a/src/Appwrite/Auth/Validator/PasswordHistory.php b/src/Appwrite/Auth/Validator/PasswordHistory.php index e262e2394b..9848f2c946 100644 --- a/src/Appwrite/Auth/Validator/PasswordHistory.php +++ b/src/Appwrite/Auth/Validator/PasswordHistory.php @@ -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; } /**