Skip to content

Commit

Permalink
fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
glena committed Jul 11, 2016
1 parent c1e3e12 commit 330b9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth0/Login/Middleware/Auth0JWTMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function getToken($request) {
}

protected function validateToken($token) {
return ($encUser !== '');
return ($token !== '');
}

public function handle($request, \Closure $next)
Expand Down

0 comments on commit 330b9d2

Please sign in to comment.