Revert "fix reload loop for guests"

This reverts commit a67a0b0a08.
v1.18.x
Julian Lam 8 years ago
parent a67a0b0a08
commit 9d2bf4746c

@ -29,7 +29,7 @@ app.isConnected = false;
}); });
socket.on('checkSession', function (uid, remoteExist) { 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(); app.handleInvalidSession();
} else { } else {
app.logout(); app.logout();

Loading…
Cancel
Save