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

Fix hardcoded jwt string and replaced jwt.decode to jwt.verify #59

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Fix hardcoded jwt string and replaced jwt.decode to jwt.verify #59

merged 1 commit into from
Jul 5, 2022

Conversation

manunio
Copy link
Contributor

@manunio manunio commented Jul 4, 2022

Fix: removed hardcoded jwt secret const serect = 'token'; and made it configurable by config.js.
Fix: The invisible character U+00a0 in user.js
Update: changed jwt.decode to jwt.verify as decode does not validate signature.

Fix: removed hardcoded jwt secret and made it configurable by config.js
Update: changed jwt.decode to jwt.verify as decode does not validate signature
@wangyuan389 wangyuan389 merged commit 681d595 into wangyuan389:master Jul 5, 2022
@manunio manunio deleted the fix-hardcoded-jwt-secret branch July 5, 2022 11:17
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