From 2da88be307df2fcbbc85e3b9443dd4222b84837e Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 29 Apr 2020 16:34:07 -0400 Subject: [PATCH] Use auth_relay instead of auth_hash if AUTH_RELAY==plain or none. --- web/skins/classic/views/js/montage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/skins/classic/views/js/montage.js b/web/skins/classic/views/js/montage.js index b88833db0..d0e0c348c 100644 --- a/web/skins/classic/views/js/montage.js +++ b/web/skins/classic/views/js/montage.js @@ -13,6 +13,8 @@ function Monitor(monitorData) { 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;