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

fix license upload page flash when logged out #4487

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

cbodonnell
Copy link
Contributor

@cbodonnell cbodonnell commented Mar 1, 2024

What this PR does / why we need it:

This PR modifies the front-end redirect logic so that the user is not routed to the /upload-license page if they are not logged in and instead is routed to the login page.

Which issue(s) this PR fixes:

https://app.shortcut.com/replicated/story/97047/license-upload-page-flashes-briefly-on-startup

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Fixes an issue where the license upload page flashes briefly before being redirected to the login page

Does this PR require documentation?

@cbodonnell cbodonnell added type::bug Something isn't working bug::normal labels Mar 1, 2024
@cbodonnell cbodonnell marked this pull request as ready for review March 1, 2024 14:51
@cbodonnell cbodonnell merged commit 7f0a92e into main Mar 1, 2024
104 checks passed
@cbodonnell cbodonnell deleted the cbo/fix-license-ui-flash branch March 1, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug::normal type::bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants