Bug 251 - Fixed problem with 'none' auth relay method.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1804 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
994604e1e8
commit
e0aa7c8172
|
@ -131,6 +131,10 @@ function getStreamSrc( $args )
|
|||
$args[] = "user=".$_SESSION['username'];
|
||||
$args[] = "pass=".$_SESSION['password'];
|
||||
}
|
||||
elseif ( ZM_AUTH_RELAY == "none" )
|
||||
{
|
||||
$args[] = "user=".$_SESSION['username'];
|
||||
}
|
||||
}
|
||||
if ( ZM_RAND_STREAM )
|
||||
{
|
||||
|
@ -380,6 +384,10 @@ function getZmuCommand( $args )
|
|||
{
|
||||
$zmu_command .= " -U ".$_SESSION['username']." -P ".$_SESSION['password'];
|
||||
}
|
||||
elseif ( ZM_AUTH_RELAY == "none" )
|
||||
{
|
||||
$zmu_command .= " -U ".$_SESSION['username'];
|
||||
}
|
||||
}
|
||||
|
||||
$zmu_command .= $args;
|
||||
|
|
Loading…
Reference in New Issue