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:
parent
937028011c
commit
5afa02da6f
|
@ -578,7 +578,9 @@ function closeWindow()
|
||||||
die( mysql_error() );
|
die( mysql_error() );
|
||||||
if ( !($row = mysql_fetch_assoc( $result )) )
|
if ( !($row = mysql_fetch_assoc( $result )) )
|
||||||
{
|
{
|
||||||
|
$row = array();
|
||||||
$row[Username] = "NewUser";
|
$row[Username] = "NewUser";
|
||||||
|
$row[Enabled] = 1;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<html>
|
<html>
|
||||||
|
|
Loading…
Reference in New Issue