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 = array();
|
||||||
$config['admins'] = array(
|
$config['admins'] = array(
|
||||||
'users' => $this->data['adminAccountData']['username'],
|
'users' => $this->data['adminAccountData']['username'],
|
||||||
'permission' => '*'
|
'permissions' => '*'
|
||||||
);
|
);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Config::fromArray($config)
|
Config::fromArray($config)
|
||||||
->setConfigFile(Config::resolvePath('permissions.ini'))
|
->setConfigFile(Config::resolvePath('roles.ini'))
|
||||||
->saveIni();
|
->saveIni();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->permIniError = $e;
|
$this->permIniError = $e;
|
||||||
|
|
Loading…
Reference in New Issue