Skip to content

Commit

Permalink
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
eldy committed Jun 30, 2016
2 parents 3611161 + bdba5dc commit ae1fd5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion htdocs/install/step5.php
Expand Up @@ -178,9 +178,12 @@
if ($numrows == 0) dolibarr_set_const($db, "DATABASE_PWD_ENCRYPTED", "1",'chaine',0,'',$conf->entity);
}

// Create user used to create the admin user
$createuser=new User($db);
$createuser->id=0;

$createuser->admin=1;

// Set admin user
$newuser = new User($db);
$newuser->lastname='SuperAdmin';
$newuser->firstname='';
Expand Down

0 comments on commit ae1fd5b

Please sign in to comment.