chatgpt-web
chatgpt-web copied to clipboard
MAJOR BUG: returns to error page 500 when user is deleted from DB
Problem:
Suppose user 1 is registered through signup system. Then I deleted that user from DB (chatgpt>user>document), then user closed the browser and then re-opened the browser and login to the system, it returns error 500 page instead of Root page. This problem is corresponding to the router and it's permission.
Solution:
- instead of implementation of catch error, which redirects to 'error 500 page' by replacing with 'Root' solve the problem but error 500 page doesn't work when backend is down. User token and sessions verification should be implemented more strategic way (I guess)