Skip to content

Commit

Permalink
Merge pull request #9 from netgen/bvrbanec-patch-userController
Browse files Browse the repository at this point in the history
Add missing container
  • Loading branch information
emodric authored Jan 8, 2020
2 parents 5f0dfba + 5787526 commit af6a147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit af6a147

Please sign in to comment.