Skip to content

Conversation

@svenefftinge
Copy link
Contributor

@svenefftinge svenefftinge commented Mar 31, 2021

Handle /login route properly fixes #3674

Copy link
Contributor

@gtsiolis gtsiolis Mar 31, 2021

Choose a reason for hiding this comment

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

Works ok but could we also update the URL path to / or /workspaces? Now both anonymous and logged in users now see the workspaces list (after logging in) but see the /login path in the URL. Feel free to merge and open a follow up issue for this.

:M: :V: :C:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point! I pushed again.

@svenefftinge svenefftinge force-pushed the sefftinge/redirect-login-to-for-3674 branch from bc639e7 to 7a0e34e Compare March 31, 2021 17:47
Copy link
Contributor

@gtsiolis gtsiolis left a comment

Choose a reason for hiding this comment

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

Works like a charm! 🔮

@svenefftinge svenefftinge merged commit 6220752 into main Mar 31, 2021
@svenefftinge svenefftinge deleted the sefftinge/redirect-login-to-for-3674 branch March 31, 2021 18:09
setLoading(false);
})();
}, []);
}, [ setUser ]);
Copy link
Member

Choose a reason for hiding this comment

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

@svenefftinge we need to change this :-(

this effect causes constant stream of getLoggedInUser requests

Screen Shot 2021-04-01 at 05 52 56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirect /login to / for logged in users

4 participants