makes login use location.href instead of navigate()

This commit is contained in:
41666 2022-02-01 00:45:24 -05:00
parent b3f9f57035
commit 7ba0b6316e

View file

@ -30,7 +30,7 @@ const Login = (props: { path: string }) => {
if (isAuthenticated) { if (isAuthenticated) {
navigate('/servers'); navigate('/servers');
} }
navigate(redirectUrl); location.href = redirectUrl;
return; return;
} }