Add logout button (#653)

## Description:

- Add a logout button, and post to the `/logout` endpoint to end the
session server-side.
- Add an option to log out all sessions by calling the `/revoke`
endpoint. There is button for this yet.
- Depends on https://github.com/openfrontio/infra/pull/32
- This is the last part of #559

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

---------

Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com>
This commit is contained in:
Scott Anderson
2025-05-05 15:48:12 -07:00
committed by GitHub
co-authored by Scott Anderson
parent c97eca0ed2
commit 8479fab49d
4 changed files with 74 additions and 19 deletions
+1
View File
@@ -10,6 +10,7 @@
"join_discord": "Join the Discord!",
"login_discord": "Login with Discord",
"logged_in": "Logged in!",
"log_out": "Log out",
"create_lobby": "Create Lobby",
"join_lobby": "Join Lobby",
"single_player": "Single Player",