Fix empty pass with personal data check

This commit is contained in:
Matej Bačo
2024-02-25 09:19:30 +00:00
parent 8e7ced68dc
commit cb7da26d53
3 changed files with 21 additions and 3 deletions
+3 -2
View File
@@ -12,9 +12,10 @@ class PersonalData extends Password
protected ?string $email = null,
protected ?string $name = null,
protected ?string $phone = null,
protected bool $strict = false
protected bool $strict = false,
protected bool $allowEmpty = false,
) {
parent::__construct();
parent::__construct($allowEmpty);
}
/**