mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
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:
@@ -154,7 +154,9 @@ var socket,
|
||||
timeout: 1000
|
||||
});
|
||||
|
||||
setTimeout(app.logout, 1000);
|
||||
setTimeout(function() {
|
||||
window.location.href = RELATIVE_PATH + '/';
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
app.enterRoom('global');
|
||||
|
||||
Reference in New Issue
Block a user