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:
Setup the localhost and run it.
Now login to the website.
You can logout via navbar or profile icon menu
After logout user should see the home page but getting login page.
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:
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.