Revert "fix reload loop for guests"

This reverts commit a67a0b0a08.
This commit is contained in:
Julian Lam
2017-08-23 19:32:10 -04:00
parent a67a0b0a08
commit 9d2bf4746c

View File

@@ -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();