From 89c98cea9f1846d26b01c4eaac32d72e51209315 Mon Sep 17 00:00:00 2001
From: echicken <echicken@bbs.electronicchicken.com>
Date: Thu, 29 Dec 2016 13:31:16 -0500
Subject: [PATCH] Send client back to / on logout.

---
 web/root/js/common.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/web/root/js/common.js b/web/root/js/common.js
index 8806b7ce31..338b9ef46f 100644
--- a/web/root/js/common.js
+++ b/web/root/js/common.js
@@ -38,9 +38,7 @@ function logout() {
 			}
 		}
 	).done(
-		function (data) {
-			if (!data.authenticated) window.location.reload(true);
-		}
+		function (data) { if (!data.authenticated) window.location.href = '/'; }
 	);
 }
 
-- 
GitLab