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

Add option to Logout for server Web UI #659

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

haoming29
Copy link
Contributor

@haoming29 haoming29 commented Jan 12, 2024

Closes #630

I didn't conditionally render the logout button and in registry page people can click it without login, but it will return 401 and cause no harm. Let me know if you want me to add another request to get login status first, although I think the login status should be a global state we manage, to save some requests.

Comes with unit tests

@haoming29 haoming29 requested a review from CannonLock January 12, 2024 21:49
@haoming29 haoming29 added the enhancement New feature or request label Jan 12, 2024
@haoming29 haoming29 added this to the v7.5.0 milestone Jan 12, 2024
Copy link
Contributor

@CannonLock CannonLock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@haoming29 haoming29 merged commit 39ea7aa into PelicanPlatform:main Jan 17, 2024
9 checks passed
@haoming29 haoming29 deleted the web-ui-logut branch March 8, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide logout option for web UI and ensure a _clear_ logout
2 participants