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 bug that allowed users to conenct to sensible pages after logging out #22

Merged
merged 1 commit into from
Jun 6, 2019

Conversation

Cynnexis
Copy link
Contributor

@Cynnexis Cynnexis commented Jun 6, 2019

After logging out, the sensible pages such as "reservations" were still available. THat was caused by the fact that the function logout did not suppress the JWT token and by the lack of ID-check before sending sensible pages.

Modifications made:

  • Removed the JWT field when logging out.
  • Check before sending sensible pages if ID is set.

…ging out

* Removed the JWT field when logging out.
* Check before sending sensible pages if ID is set.
@Cynnexis Cynnexis added the bug Something isn't working label Jun 6, 2019
@Cynnexis Cynnexis self-assigned this Jun 6, 2019
@Cynnexis Cynnexis merged commit ceba5ad into master Jun 6, 2019
@Cynnexis Cynnexis deleted the val/fix-jwt-logout branch June 6, 2019 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant