mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
test
This commit is contained in:
@@ -279,7 +279,7 @@ io.on('connection', function(socket){
|
||||
lists[coll].push(guid);
|
||||
io.sockets.emit(coll+",viewers", lists[coll].length);
|
||||
}
|
||||
|
||||
console.log(coll);
|
||||
db.collection(coll).find({views:{$exists:true}}, function(err, docs){
|
||||
console.log(docs);
|
||||
if(docs[0]["adminpass"] == "" || docs[0]["adminpass"] == hash_pass(pw))
|
||||
|
||||
Reference in New Issue
Block a user