Resume Craft: Your go-to platform for effortlessly tailoring ATS-friendly resumes to job descriptions. Streamline your job application process and stand out in the competitive market.
The issue was happening because the auth.currentUser was not being deleted as the user was actually never logged out from the client side.
Fixed that issue by updating the login hook to make get call to the login api route, and logging out the user in case the get request returns a error/logged out state and currentUser is still available locally.
Details
Testing done
Tested the UI locally
Screenshots / Videos
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
Issue: https://github.com/amlan-roy/resume-craft/issues/131
Summary
The issue was happening because the auth.currentUser was not being deleted as the user was actually never logged out from the client side. Fixed that issue by updating the login hook to make get call to the login api route, and logging out the user in case the get request returns a error/logged out state and currentUser is still available locally.
Details
Testing done
Tested the UI locally
Screenshots / Videos
Checklist: