Skip to content

Commit

Permalink
Fixed previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Jul 10, 2012
1 parent 8e412a7 commit fab1c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/RegistrationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected function authenticateUser(UserInterface $user, Response $response)
{
try {
$this->container->get('fos_user.security.login_manager')->loginUser(
$this->container->get('fos_user.firewall_name'),
$this->container->getParameter('fos_user.firewall_name'),
$user,
$response);
} catch (AccountStatusException $ex) {
Expand Down
2 changes: 1 addition & 1 deletion Controller/ResettingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected function authenticateUser(UserInterface $user, Response $response)
{
try {
$this->container->get('fos_user.security.login_manager')->loginUser(
$this->container->get('fos_user.firewall_name'),
$this->container->getParameter('fos_user.firewall_name'),
$user,
$response);
} catch (AccountStatusException $ex) {
Expand Down

0 comments on commit fab1c15

Please sign in to comment.