Skip to content

Commit e5ee24f

Browse files
committed
Fixed the retrieval of the DI parameter in the controller
Closes #1626
1 parent c6ee27d commit e5ee24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/ResettingController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function sendEmailAction(Request $request)
5353
));
5454
}
5555

56-
if ($user->isPasswordRequestNonExpired($this->getParameter('fos_user.resetting.token_ttl'))) {
56+
if ($user->isPasswordRequestNonExpired($this->container->getParameter('fos_user.resetting.token_ttl'))) {
5757
return $this->render('FOSUserBundle:Resetting:passwordAlreadyRequested.html.twig');
5858
}
5959

0 commit comments

Comments
 (0)