From 5787526eb08b0685c40bfc5d22fdd9d1297bc735 Mon Sep 17 00:00:00 2001 From: Brigita Date: Tue, 7 Jan 2020 18:03:38 +0100 Subject: [PATCH] Add missing container --- bundle/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),