Installer: Set some admin profile fields

This commit is contained in:
Lucas Bartholemy 2014-02-27 12:58:35 +01:00
parent 5593f0bc5f
commit 0ea0491378

View File

@ -137,7 +137,11 @@ class ConfigController extends Controller {
$user->status = User::STATUS_ENABLED;
$user->super_admin = true;
$user->save();
$user->profile->firstname = 'Super';
$user->profile->lastname = 'Admin';
$user->profile->title = "Administration";
$user->profile->save();
// Create Welcome Space
$space = new Space();
$space->name = 'Welcome Space';
@ -568,6 +572,7 @@ class ConfigController extends Controller {
$group->name = "Users";
$group->description = "Example Group by Installer";
$group->save();
}
}