mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- Create the admin account with the default language selected during the setup
SVN:trunk[568]
This commit is contained in:
@@ -404,7 +404,7 @@ function CreateAdminAccount(SetupWebPage $oP, Config $oConfig, $sAdminUser, $sAd
|
||||
{
|
||||
$oP->log('Info - CreateAdminAccount');
|
||||
InitDataModel($oP, TMP_CONFIG_FILE, true); // allow missing DB
|
||||
if (UserRights::CreateAdministrator($sAdminUser, $sAdminPwd))
|
||||
if (UserRights::CreateAdministrator($sAdminUser, $sAdminPwd, $sLanguage))
|
||||
{
|
||||
$oP->ok("Administrator account '$sAdminUser' created.");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user