Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed refresh token failed when token expired #3

Merged
merged 2 commits into from
Dec 26, 2020
Merged

fixed refresh token failed when token expired #3

merged 2 commits into from
Dec 26, 2020

Conversation

canren
Copy link
Contributor

@canren canren commented Dec 25, 2020

fixed refresh token failed when token expired

fixed refresh token failed when token expired
Copy link
Member

@ericyzhu ericyzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invalidate() 方法没必要添加第三个参数,在该方法内部直接调用 $this->decode($token, false, true) 就行了。

@ericyzhu ericyzhu merged commit 5836c0e into hyperf-ext:master Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants