It's not the "permissions.ini" but the "roles.ini" that holds the role settings
This commit is contained in:
parent
5b4fab0750
commit
b712d9453b
|
@ -65,12 +65,12 @@ class AuthenticationStep extends Step
|
|||
$config = array();
|
||||
$config['admins'] = array(
|
||||
'users' => $this->data['adminAccountData']['username'],
|
||||
'permission' => '*'
|
||||
'permissions' => '*'
|
||||
);
|
||||
|
||||
try {
|
||||
Config::fromArray($config)
|
||||
->setConfigFile(Config::resolvePath('permissions.ini'))
|
||||
->setConfigFile(Config::resolvePath('roles.ini'))
|
||||
->saveIni();
|
||||
} catch (Exception $e) {
|
||||
$this->permIniError = $e;
|
||||
|
|
Loading…
Reference in New Issue