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
hey! @gupta-ritik ,
Hey! I noticed the issue where, after signing up or logging in, users aren't being redirected to the dashboard. I'll work on fixing that.
Sign-up/Sign-in: In the code for both sign-up and sign-in, I’ll add a redirect after a successful sign-up or login. I can do this by using router.push('/dashboard') from Next.js to navigate the user to the dashboard page.
Already Logged-in User: If a user is already logged in and tries to visit the sign-up or sign-in page, I’ll check for their authentication status. If they’re logged in, I’ll automatically redirect them to the dashboard page to prevent them from accessing the sign-in/sign-up pages again.
Could me please assign me this?
’d appreciate it if this issue isn’t assigned to anyone else. I'll keep you updated on my progress!
The text was updated successfully, but these errors were encountered: