Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the issue related with sign-in and sign-up #114

Open
gupta-ritik opened this issue Nov 5, 2024 · 2 comments
Open

Improve the issue related with sign-in and sign-up #114

gupta-ritik opened this issue Nov 5, 2024 · 2 comments
Labels
gssoc-ext hacktoberfest-accepted help wanted Extra attention is needed level3 Gssoc-Ex level3

Comments

@gupta-ritik
Copy link
Owner

  1. when new user is registered to the expense tracker by using sign-up page the page is not redirected to the dashboard of the website .
  2. When old user or exiting user trying to sign-in and page is not redirected .
    image
@gupta-ritik gupta-ritik added help wanted Extra attention is needed gssoc-ext level3 Gssoc-Ex level3 hacktoberfest-accepted labels Nov 5, 2024
@AnsharaFayazBeigh
Copy link

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!

@gupta-ritik
Copy link
Owner Author

please complete asap

@AnsharaFayazBeigh AnsharaFayazBeigh removed their assignment Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext hacktoberfest-accepted help wanted Extra attention is needed level3 Gssoc-Ex level3
Projects
None yet
Development

No branches or pull requests

2 participants