Set the email address properly on install

This commit is contained in:
james 2008-07-08 19:52:14 +00:00
parent e1055150c9
commit 0f2812cc90

View File

@ -151,6 +151,7 @@ if($_POST['action']=="save")
$u['lastname'] = 'Account';
}
$u['emailprivate'] = mysql_escape_string(stripslashes($_POST['email']));
$u['email'] = mysql_escape_string(stripslashes($_POST['email']));
$u['username'] = mysql_escape_string(stripslashes($_POST['email']));
$u['password'] = mysql_escape_string(stripslashes($_POST['pass1']));
$u['access_admin'] = 'yes';