diff --git a/Classes/Service/UserServiceAspect.php b/Classes/Service/UserServiceAspect.php index 189f417..c3aca5a 100644 --- a/Classes/Service/UserServiceAspect.php +++ b/Classes/Service/UserServiceAspect.php @@ -54,7 +54,7 @@ protected function checkPasswordStrength($password) $number = !$this->settings['passwordRequirements']['numbers'] ?: preg_match('@[0-9]@', $password); $specialChars = !$this->settings['passwordRequirements']['specialChars'] ?: preg_match('@[^\w]@', $password); - if(!$uppercase || !$lowercase || !$number || !$specialChars || strlen($password) < 8) { + if(!$uppercase || !$lowercase || !$number || !$specialChars) { $this->throwPasswordRequirementsException('The password is too easy.'); }