diff --git a/password_policy_character_types/src/Plugin/PasswordConstraint/CharacterTypes.php b/password_policy_character_types/src/Plugin/PasswordConstraint/CharacterTypes.php index dc1ee11..4b5da3a 100644 --- a/password_policy_character_types/src/Plugin/PasswordConstraint/CharacterTypes.php +++ b/password_policy_character_types/src/Plugin/PasswordConstraint/CharacterTypes.php @@ -46,13 +46,12 @@ class CharacterTypes extends PasswordConstraintBase { } /** - * Check if any - * - * @param $input - * @param $regex + * {@inheritdoc} */ - protected function isSatisfied($input, $regex) { - + public function defaultConfiguration() { + return [ + 'character_types' => 3, + ]; } /**