Skip to content

Node.js based forum software built for the modern web

you're now logged out server-side when you're banned, so csrf token doesn't work in app.logout

psychobunny947c9b6eea9c
diff --git a/public/src/app.js b/public/src/app.js
index 7a2a86c25d..080b1ee7e3 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -154,7 +154,9 @@ var socket,
timeout: 1000
});
- setTimeout(app.logout, 1000);
+ setTimeout(function() {
+ window.location.href = RELATIVE_PATH + '/';
+ }, 1000);
});
app.enterRoom('global');