mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Uncommented a feature
This commit is contained in:
@@ -286,6 +286,7 @@ function setSessionUserPass(id, userpass, list, callback) {
|
||||
|
||||
function getSessionAdminUser(id, list, callback) {
|
||||
try {
|
||||
console.log(id);
|
||||
if(id == "empty" || id == undefined) {
|
||||
callback("", "", false);
|
||||
return;
|
||||
@@ -294,7 +295,7 @@ function getSessionAdminUser(id, list, callback) {
|
||||
var userpass = "";
|
||||
var adminpass = "";
|
||||
if(d.length > 0) {
|
||||
console.log(d);
|
||||
console.log(id, d);
|
||||
if(d[0].hasOwnProperty("chromecast") && d[0].chromecast) {
|
||||
getSessionAdminUser(d[0].id, list, callback);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user