mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated issue with 'pos'
This commit is contained in:
2
server/public/assets/dist/embed.min.js
vendored
2
server/public/assets/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -24,6 +24,7 @@ var autoplay = false;
|
||||
var color = "#808080";
|
||||
var dragging = false;
|
||||
var user_auth_started = false;
|
||||
var user_auth_avoid = false;
|
||||
|
||||
var connection_options = {
|
||||
'sync disconnect on unload':true,
|
||||
|
||||
@@ -1010,7 +1010,7 @@ io.on('connection', function(socket){
|
||||
return;
|
||||
}
|
||||
|
||||
db.collection(list).find({views: {$exists: true}}, function(err, docs) {
|
||||
db.collection(coll).find({views: {$exists: true}}, function(err, docs) {
|
||||
if(docs.length > 0 && (docs[0].userpass == undefined || docs[0].userpass == "" || (msg.hasOwnProperty('pass') && docs[0].userpass == decrypt_string(socketid, msg.pass)))) {
|
||||
check_inlist(coll, guid, socket, name, offline);
|
||||
send_play(coll, socket);
|
||||
|
||||
Reference in New Issue
Block a user