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 Logout function, added TODO in auth.js #296

Merged
merged 3 commits into from
Dec 29, 2024

Conversation

tshikenn
Copy link
Contributor

@tshikenn tshikenn commented Dec 28, 2024

  • /logout route has been updated in app.js to handle logout using the updated Passport.js req.logout syntax with error handling.

  • Removed test case switch in auth.js

  • A #TODO comment has been added in the strategyForEnvironment function as a marker for redoing the test suite in a future update

Copy link
Owner

@PhlexPlexico PhlexPlexico left a comment

Choose a reason for hiding this comment

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

Make sure to delete this case statement and leave the default as well - it will break the builds but that's fine since I need to fix the test suite already.

https://github.com/PhlexPlexico/G5API/pull/296/files/659c8097be8ac41089018e4a6e3ce9e79927863d#diff-47e692983ca95017b8a059d9d3fbe43f06f313818eec0fc8fad40acd9693c202L28-L31

@PhlexPlexico
Copy link
Owner

Actually I'll just merge these and make those changes :) no worries! Thanks for the contribution!

@PhlexPlexico PhlexPlexico merged commit 6ee1d26 into PhlexPlexico:master Dec 29, 2024
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.

2 participants