You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When user hit login or register after filling required fields then it fails , also show status code 200 but send empty response which is not according to the code logic. and you can not access "/generator" route as not logged in.
open devtools and open network tab , see headers and response (empty) and status code 200 still.
Expected behavior
Should login / register properly according to synk with backend and with a proper returned response and then redirect to the generator page in the frontend.
Expected Solution
I found an issue in the code ->
see in /api/routes/auth.js the login and register controller are not imported although they are defined in api/controllers/authController.js , that might be an issue. although for this the server should crash.
Describe the bug
When user hit login or register after filling required fields then it fails , also show status code 200 but send empty response which is not according to the code logic. and you can not access "/generator" route as not logged in.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should login / register properly according to synk with backend and with a proper returned response and then redirect to the generator page in the frontend.
Expected Solution
I found an issue in the code ->
see in
/api/routes/auth.jsthe login and register controller are not imported although they are defined inapi/controllers/authController.js, that might be an issue. although for this the server should crash.Environment Details
Screenshots & Logs
Video for the reference -
Loom.Message.-.22.June.2026.-.1080p.mp4