10kumaranurag01 / todo-done

https://todo-done.anuragg.top/
5 stars 22 forks source link

Prevent Access to Login Page After Authentication #42

Open an-um opened 1 hour ago

an-um commented 1 hour ago

Has this bug been raised before?

Where did you find this bug?

On live website

Version of website/mobile (for example "v1.2.3")

v1

Description

Description: Currently, after a user successfully logs in and navigates to the dashboard, they can still access the login page by using the browser's back button. This behavior allows logged-in users to potentially reattempt logging in, which is not ideal for a smooth user experience.

Expected Behavior:

Steps to Reproduce

If you know the steps, follow the below format and provide steps to reproduce

For example:

  1. Log in with valid credentials.
  2. Navigate to the dashboard or any other protected route.
  3. Press the back button on the browser.

Screenshots

image

Do you want to work on this issue?

Yes

If "yes" to above, please explain how you would technically implement this

an-um commented 1 hour ago

@10kumaranurag01 I want to work on this issue. Please assign this task to me.

10kumaranurag01 commented 1 hour ago

@an-um Fork it, take a new branch and create a PR.

SauravGupta123 commented 54 minutes ago

please assign issue to me. I have fixed this issue many times. @10kumaranurag01

10kumaranurag01 commented 47 minutes ago

@SauravGupta123 Sorry, the issue is already assigned to @an-um , you can check out existing issues or create new issues if you find any. Thanks for your enthusiasm ☺️.