Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
F*x #41
F*w #40
  • Loading branch information
Atala committed Aug 23, 2017
1 parent 0be42cf commit 2d2c711
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/AppBundle/Enum/RestrictedDiet.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace AppBundle\Enum;

use ApiPlatform\Core\Annotation\ApiResource;
use MyCLabs\Enum\Enum;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ public function onSecurityInteractiveLogin(InteractiveLoginEvent $event)

public function onAuthenticationSuccess(Request $request, TokenInterface $token)
{
return new RedirectResponse($referer);
return new RedirectResponse($request->headers->get('referer'));
}
}
}

0 comments on commit 2d2c711

Please sign in to comment.