Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Dec 5, 2014
1 parent daddaff commit fc25611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tymon/JWTAuth/JWTAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ public function login($token = false)

$id = $this->provider->getSubject($this->token);

if (! $user = $this->auth->onceUsingId($id) )
if (! $this->auth->onceUsingId($id) )
{
return false;
}

return $user;
return $this->auth->user();
}

/**
Expand Down

0 comments on commit fc25611

Please sign in to comment.