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

This commit is contained in:
psychobunny
2014-07-28 14:28:59 -04:00
parent 3f9e6e7d86
commit 947c9b6eea

View File

@@ -154,7 +154,9 @@ var socket,
timeout: 1000
});
setTimeout(app.logout, 1000);
setTimeout(function() {
window.location.href = RELATIVE_PATH + '/';
}, 1000);
});
app.enterRoom('global');