fix: #7136 socket.disconnect() now called on invalid session

v1.18.x
Julian Lam 6 years ago
parent 4873a339c1
commit 8e9de540b4

@ -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({

Loading…
Cancel
Save