mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01:00
Revert "feat: add logout to invalid session"
This reverts commit beb1427387.
This commit is contained in:
@@ -75,7 +75,6 @@ socket = window.socket;
|
||||
socket.on('checkSession', function (uid) {
|
||||
if (parseInt(uid, 10) !== parseInt(app.user.uid, 10)) {
|
||||
app.handleInvalidSession();
|
||||
app.logout(false);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user