Use auth_relay instead of auth_hash if AUTH_RELAY==plain or none.

This commit is contained in:
Isaac Connor
2020-04-29 16:34:07 -04:00
parent 4c9f67eb5a
commit 2da88be307

View File

@@ -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;