From 2b1e0df6be663c5c5d3fbaa0eaf1f10f66a0e9f4 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 9 Apr 2021 18:46:41 -0400 Subject: [PATCH] FIx auth= not getting updated --- web/skins/classic/views/js/montage.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/web/skins/classic/views/js/montage.js b/web/skins/classic/views/js/montage.js index 0ebc328bd..6cbd97e23 100644 --- a/web/skins/classic/views/js/montage.js +++ b/web/skins/classic/views/js/montage.js @@ -11,11 +11,6 @@ function Monitor(monitorData) { this.alarmState = STATE_IDLE; this.lastAlarmState = STATE_IDLE; this.streamCmdParms = 'view=request&request=stream&connkey='+this.connKey; - if ( auth_hash ) { - this.streamCmdParms += '&auth='+auth_hash; - } else if ( auth_relay ) { - this.streamCmdParms += '&'+auth_relay; - } this.streamCmdTimer = null; this.type = monitorData.type; this.refresh = monitorData.refresh; @@ -186,7 +181,7 @@ function Monitor(monitorData) { } //console.log("Starting CmdQuery for " + this.connKey ); if ( this.type != 'WebSite' ) { - this.streamCmdReq.send(this.streamCmdParms+"&command="+CMD_QUERY); + this.streamCmdReq.send(this.streamCmdParms+"&command="+CMD_QUERY+(auth_hash?'&auth='+auth_hash:''); } };