feat: users can log out #104

Merged
mcataford merged 3 commits from feat/users-can-log-out into main 2024-01-03 18:49:28 +00:00
mcataford commented 2024-01-03 18:27:48 +00:00 (Migrated from github.com)

Description

Opens a path for users to log out through the UI. A "Log out" button is now available in the navigation bar for that purpose.

QA

  • ✔️ Verified that "Log out" is in the navigation bar;
  • ✔️ Clicked, verified that the session is invalidated and that the user is redirected to the login page.
  • ✔️ Navigated to /logout, verified that logging out happens there as well.

Known deficiencies

A query to look up the current user data will need to exist to verify if we are logged in and control things like "Should we show the logout button?". In the meantime, the logout button can appear even if you can't log out (i.e. in the login page).

# Description Opens a path for users to log out through the UI. A "Log out" button is now available in the navigation bar for that purpose. # QA - :heavy_check_mark: Verified that "Log out" is in the navigation bar; - :heavy_check_mark: Clicked, verified that the session is invalidated and that the user is redirected to the login page. - :heavy_check_mark: Navigated to `/logout`, verified that logging out happens there as well. # Known deficiencies A query to look up the current user data will need to exist to verify if we are logged in and control things like "Should we show the logout button?". In the meantime, the logout button can appear even if you can't log out (i.e. in the login page).
This repo is archived. You cannot comment on pull requests.
No description provided.