Bug 207 - Perrmitted any authentication to streams.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1628 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2005-11-23 14:14:27 +00:00
parent 102843da42
commit c3142f7131
1 changed files with 2 additions and 2 deletions

View File

@ -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" ) )
{