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

auth组件token过期时间问题 #419

Closed
xnnyeYp opened this issue Oct 23, 2018 · 0 comments · Fixed by swoft-cloud/swoft-component#223
Closed

auth组件token过期时间问题 #419

xnnyeYp opened this issue Oct 23, 2018 · 0 comments · Fixed by swoft-cloud/swoft-component#223
Labels

Comments

@xnnyeYp
Copy link

xnnyeYp commented Oct 23, 2018

Q A
Bug report? yes
Feature request? no
Swoft version 1.0.0
Swoole version 4.1.2
PHP version 7.1.20
Runtime environment CentOS etc.

Details

set token时过期时间应该是秒数,而不是一个10位的时间戳,这导致过期时间与预期不符(几十年才能过期),如下图所示

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants