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

optimize: using the SetCookie method of Hertz #7

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

BaiZe1998
Copy link
Collaborator

What type of PR is this?

optimize

What this PR does / why we need it (English/Chinese):

en: rewrite the cookie creation process in the jwt extension with the SetCookie method of hertz, and modify the unit test.
zh: 将 jwt 扩展中 cookie 的创建过程用 hertz 的 SetCookie 方法改写,并修改单元测试。

auth_jwt_test.go Outdated Show resolved Hide resolved
optimize: using the SetCookie method of Hertz
@li-jin-gou
Copy link

LGTM

@li-jin-gou li-jin-gou merged commit 08d7422 into hertz-contrib:main Sep 29, 2022
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