Logout not Redirecting to home page #94 Fixed #105
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
logou_redirect_home_issue.mp4
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.
How Has This Been Tested?
Screenshots or GIF (In case of UI changes):
logout_redirect_home_issue_fix.mp4
Types of changes
Checklist:
Review Request
@ABHISHEK-PANDEY2 @Maahi10001 @Shiva-Nanda @c2sibot Please Review My PR. Approve My PR