mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
- Create the admin account with the default language selected during the setup
SVN:trunk[567]
This commit is contained in:
@@ -140,7 +140,7 @@ class UserRightsMatrix extends UserRightsAddOnAPI
|
||||
);
|
||||
|
||||
// Installation: create the very first user
|
||||
public function CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage)
|
||||
public function CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage = 'EN US')
|
||||
{
|
||||
// Maybe we should check that no other user with userid == 0 exists
|
||||
$oUser = new UserRightsMatrixUsers();
|
||||
|
||||
Reference in New Issue
Block a user