diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 17:09:10 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-28 17:09:10 +1000 |
commit | d195982677e542fdf8644a0252734a80b96255a7 (patch) | |
tree | 2e1a2edf2e1e19d3ccac45f7d3fbf873bbc002f0 | |
parent | Discovery splashes + fix guild icons disappearing on settings change (diff) | |
download | server-d195982677e542fdf8644a0252734a80b96255a7.tar.xz |
fix loginRedirect
-rw-r--r-- | assets/preload-plugins/loginRedirect.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/preload-plugins/loginRedirect.js b/assets/preload-plugins/loginRedirect.js index 695515b3..c527d79d 100644 --- a/assets/preload-plugins/loginRedirect.js +++ b/assets/preload-plugins/loginRedirect.js @@ -5,7 +5,7 @@ const redirectIfOnLogin = () => { const path = window.location.pathname; if (path == "/login" || path == "/register" || !localStorage.getItem("token")) { window.location.pathname = "/login"; - window.location.reload(); + //window.location.reload(); } }; |