mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-18 19:46:12 -04:00
Use auth_relay instead of auth_hash if AUTH_RELAY==plain or none.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user