Bug 207 - Perrmitted any authentication to streams.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1628 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
102843da42
commit
c3142f7131
|
@ -116,14 +116,14 @@ int main( int argc, const char *argv[] )
|
|||
ttl = atoi(value);
|
||||
else if ( config.opt_use_auth )
|
||||
{
|
||||
if ( strcmp( config.auth_relay, "hashed" ) == 0 )
|
||||
//if ( strcmp( config.auth_relay, "hashed" ) == 0 )
|
||||
{
|
||||
if ( !strcmp( name, "auth" ) )
|
||||
{
|
||||
strncpy( auth, value, sizeof(auth) );
|
||||
}
|
||||
}
|
||||
else if ( strcmp( config.auth_relay, "plain" ) == 0 )
|
||||
//else if ( strcmp( config.auth_relay, "plain" ) == 0 )
|
||||
{
|
||||
if ( !strcmp( name, "user" ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue