forked from science-ation/science-ation
Insert a name 'Superuser Account' with the superuser record so it will properly show up in the committee editor list
This commit is contained in:
parent
620353e8fa
commit
2063ada383
@ -139,7 +139,7 @@ if($_POST['action']=="save")
|
||||
|
||||
echo "<b>Done!</b><br />";
|
||||
echo "Creating superuser account...";
|
||||
mysql_query("INSERT INTO committees_members (email,emailprivate,password,access_admin,access_config,access_super) VALUES ('".$_POST['email']."','".$_POST['email']."','".$_POST['pass1']."','Y','Y','Y')");
|
||||
mysql_query("INSERT INTO committees_members (name,email,emailprivate,password,access_admin,access_config,access_super) VALUES ('Superuser Account','".$_POST['email']."','".$_POST['email']."','".$_POST['pass1']."','Y','Y','Y')");
|
||||
echo mysql_error();
|
||||
|
||||
echo "<b>Done!</b><br />";
|
||||
|
Loading…
Reference in New Issue
Block a user