-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): do not redirect to login until really needed (#1340)
## Problem There is an extra redirection to /login route during the short period the login request is being performed. The user does not stuck in the login page because it redirects to the root route as soon as isLoggedIn is set, but it produces both, * A not needed redirection. * A quick login screen flickering. ## Solution Do not set the isLoggedIn value until it is really known. ## Testing - Tested manually
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
------------------------------------------------------------------- | ||
Fri Jun 14 07:37:58 UTC 2024 - David Diaz <[email protected]> | ||
|
||
- Do not redirect to login page until really needed | ||
(gh#openSUSE/agama#1340). | ||
|
||
------------------------------------------------------------------- | ||
Fri Jun 14 05:34:52 UTC 2024 - Imobach Gonzalez Sosa <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters