c2siorg / Codelabz

Codelabz
Apache License 2.0
11 stars 51 forks source link

Logout not Redirecting to home page #94

Closed Hemu21 closed 5 months ago

Hemu21 commented 6 months ago

Describe the bug

When you click on logout button then user should redirect to the home page. This is the actual feature of any website but logout is not redirecting to home page instead it is redirecting to login page. This is the bug by fixing it we can increase user experience.

To Reproduce Steps to reproduce the behavior:

  1. Setup the localhost and run it.
  2. Now login to the website.
  3. You can logout via navbar or profile icon menu
  4. After logout user should see the home page but getting login page.

https://github.com/c2siorg/Codelabz/assets/106808387/d52161fb-65cd-431e-b07c-a261fb9b3159

Expected behavior

When user click the logout button then user should redirect to home page.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.