c2siorg / Codelabz

Codelabz
Apache License 2.0
11 stars 50 forks source link

Logout not Redirecting to home page #94 Fixed #105

Open Hemu21 opened 5 months ago

Hemu21 commented 5 months ago

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 Fixed it we can increase user experience.

Description

I changed the redirecting path of the logout button. Now it redirects to home page not to login page. I created test for it and checked everything works perfectly.

Related Issue

Logout not Redirecting to home page resolve #94

steps to reproduce

https://github.com/c2siorg/Codelabz/assets/106808387/f43d8bb4-e8f3-4792-b3e2-416528149026

Link of the Issue

https://github.com/c2siorg/Codelabz/issues/94

Motivation and Context

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. If user not redirected to home page then user can't see the website home page after logout.

"we can get into login again from home page but we can't get into home page from login page."

How Has This Been Tested?

Screenshots or GIF (In case of UI changes):

https://github.com/c2siorg/Codelabz/assets/106808387/10a74e37-3a19-44ca-992f-72f2e0dc38ce

Types of changes

Checklist:

Review Request

@ABHISHEK-PANDEY2 @Maahi10001 @Shiva-Nanda @c2sibot Please Review My PR. Approve My PR