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

v1.18.x
psychobunny 11 years ago
parent 3f9e6e7d86
commit 947c9b6eea

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

Loading…
Cancel
Save