Skip to content

Commit

Permalink
Fix getting token from request query string.
Browse files Browse the repository at this point in the history
Fixes #66.
  • Loading branch information
ADmad committed Apr 20, 2018
1 parent 545091a commit d8d39a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Auth/JwtAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ public function getToken($request = null)
if ($token !== null) {
$token = (string)$token;
}

return $this->_token = $token;
}

return $this->_token;
Expand Down

0 comments on commit d8d39a9

Please sign in to comment.