Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(logout): add logout button #887

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

hamo225
Copy link
Member

@hamo225 hamo225 commented Jan 7, 2025

  • Added a logout button in the header.
  • added useLogoutService to call the /logout endpoint.
  • Added error handling with useErrorToast to display error messages on logout failure.
  • Redirects user to the home page on successful logout.
  • adds unit tests

RISDEV-5806

- Added a logout button in the header.
- added `useLogoutService` to call the `/logout` endpoint.
- Added error handling with `useErrorToast` to display error messages on logout failure.
- Redirects user to the home page on successful logout.
- adds unit tests

RISDEV-5806
Copy link

sonarqubecloud bot commented Jan 7, 2025

@hamo225 hamo225 marked this pull request as draft January 8, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant