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

pull/2928/head
Isaac Connor 2020-04-29 16:34:07 -04:00
parent 4c9f67eb5a
commit 2da88be307
1 changed files with 2 additions and 0 deletions

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;