Skip to content

Commit

Permalink
Merge pull request #3 from canren/patch-1
Browse files Browse the repository at this point in the history
fixed refresh token failed when token expired
  • Loading branch information
ericyzhu authored Dec 26, 2020
2 parents 865db72 + 5500d90 commit 5836c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function invalidate(Token $token, bool $forceForever = false): bool

return call_user_func(
[$this->blacklist, $forceForever ? 'addForever' : 'add'],
$this->decode($token, false)
$this->decode($token, false, true)
);
}

Expand Down

0 comments on commit 5836c0e

Please sign in to comment.