mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
- New API CreateAdministrator used by the setup wizard
SVN:code[5]
This commit is contained in:
@@ -93,6 +93,12 @@ class UserRights
|
||||
self::$m_iRealUserId = 0;
|
||||
}
|
||||
|
||||
// Installation: create the very first user
|
||||
public static function CreateAdministrator($sAdminUser, $sAdminPwd)
|
||||
{
|
||||
return self::$m_oAddOn->CreateAdministrator($sAdminUser, $sAdminPwd);
|
||||
}
|
||||
|
||||
// Installation (e.g: give default values for users)
|
||||
public static function Setup()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user