Skip to content

Commit

Permalink
Add missing container
Browse files Browse the repository at this point in the history
  • Loading branch information
bvrbanec authored Jan 7, 2020
1 parent 5f0dfba commit 5787526
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 5787526

Please sign in to comment.