Computing-For-All / nextjs-issue-tracker

Repository created to manage the UAT (User Acceptance Testing) workflow for the Next.js website. This repo will serve as a central hub for tracking issues, feedback, and improvements identified during testing phases, ensuring a smooth and efficient UAT process.
0 stars 0 forks source link

session data "employeeIsApproved" is not updated, out of sync with db until logout/login #91

Open theGaryLarson opened 3 hours ago

theGaryLarson commented 3 hours ago

This is expected unless the employer is the creator. We should update the session in the API route on creation of an existing company.

will need to add the following functionality:

Need to consider how to handle if an employer is not approved. How to prevent them from not being able to continually choose a company over again.