diff --git a/bundle/Controller/UserController.php b/bundle/Controller/UserController.php index ce2659a6..6d40cf4e 100644 --- a/bundle/Controller/UserController.php +++ b/bundle/Controller/UserController.php @@ -385,7 +385,7 @@ protected function createForgotPasswordForm(): FormInterface */ protected function createResetPasswordForm(): FormInterface { - $minLength = (int) $this->getParameter('netgen.ezforms.form.type.fieldtype.ezuser.parameters.min_password_length'); + $minLength = (int) $this->container->getParameter('netgen.ezforms.form.type.fieldtype.ezuser.parameters.min_password_length'); $passwordConstraints = [ new Constraints\NotBlank(),