Made new users enabled by default.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@581 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-06-29 21:53:20 +00:00
parent 937028011c
commit 5afa02da6f
1 changed files with 2 additions and 0 deletions

View File

@ -578,7 +578,9 @@ function closeWindow()
die( mysql_error() );
if ( !($row = mysql_fetch_assoc( $result )) )
{
$row = array();
$row[Username] = "NewUser";
$row[Enabled] = 1;
}
?>
<html>