Logging more testing to see if data is set correctly

This commit is contained in:
Kasper Rynning-Tønnesen
2018-06-04 23:54:16 +02:00
parent a44869a3cd
commit 36cb2cd55a
2 changed files with 3 additions and 0 deletions

View File

@@ -687,7 +687,9 @@ module.exports = function() {
}
db.collection(coll + "_settings").find(function(err, docs) {
console.log("trying to get pos in song");
Functions.getSessionAdminUser(Functions.getSession(socket), coll, function(userpass, adminpass) {
console.log("userpass, adminpass", userpass, adminpass);
if(userpass != "" || obj.pass == undefined) {
obj.pass = userpass;
}