summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 17:09:10 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 17:09:10 +1000
commita0a3168d201bef3a3a489f25fa72d72182923b92 (patch)
tree7ea0b86d8674f5bd4533633192cbe081167d8a48 /assets
parentDiscovery splashes + fix guild icons disappearing on settings change (diff)
downloadserver-a0a3168d201bef3a3a489f25fa72d72182923b92.tar.xz
fix loginRedirect
Diffstat (limited to 'assets')
-rw-r--r--assets/preload-plugins/loginRedirect.js2
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();
 	}
 };