forked from science-ation/science-ation
Set the email address properly on install
This commit is contained in:
parent
e1055150c9
commit
0f2812cc90
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user