Skip to content

Commit

Permalink
Merge pull request #133 from stloyd/patch-1
Browse files Browse the repository at this point in the history
Always call for master request from request stack
  • Loading branch information
slashfan committed Jan 30, 2016
2 parents d565872 + c6f40a0 commit ffb5868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/JWTManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function setRequest($requestStack)
if ($requestStack instanceof Request) {
$this->request = $requestStack;
} elseif ($requestStack instanceof RequestStack) {
$this->request = $requestStack->getCurrentRequest();
$this->request = $requestStack->getMasterRequest();
}
}

Expand Down

0 comments on commit ffb5868

Please sign in to comment.