mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 13:50:36 +01:00
@@ -29,7 +29,7 @@ app.isConnected = false;
|
||||
});
|
||||
|
||||
socket.on('checkSession', function (uid, remoteExist) {
|
||||
if (parseInt(uid, 10) !== parseInt(app.user.uid, 10) && (uid !== 0 && remoteExist)) {
|
||||
if (parseInt(uid, 10) !== parseInt(app.user.uid, 10) && remoteExist) {
|
||||
app.handleInvalidSession();
|
||||
} else {
|
||||
app.logout();
|
||||
|
||||
Reference in New Issue
Block a user