Fixed issue where login-with cookie didn't work as expected

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-14 15:06:44 +01:00
parent 4fc0151e9f
commit 0fdd491bfd
2 changed files with 4 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ module.exports = function() {
socket.emit("get_list");
var guid = Functions.hash_pass(socket.handshake.headers["user-agent"] + socket.handshake.address + socket.handshake.headers["accept-language"]);
socket.guid = guid;
socket.on('close', function() {
});