mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #7136 socket.disconnect() now called on invalid session
This commit is contained in:
@@ -242,6 +242,8 @@ app.cacheBuster = null;
|
||||
app.flags = app.flags || {};
|
||||
app.flags._sessionRefresh = true;
|
||||
|
||||
socket.disconnect();
|
||||
|
||||
require(['translator'], function (translator) {
|
||||
translator.translate('[[error:invalid-session-text]]', function (translated) {
|
||||
bootbox.alert({
|
||||
|
||||
Reference in New Issue
Block a user