Skip to content

Commit

Permalink
Update RequestConfigList.php
Browse files Browse the repository at this point in the history
  • Loading branch information
stepapo authored Mar 20, 2023
1 parent b01044c commit d922ded
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Config/RequestConfigList.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ public function addFromArray(array $config, ?array $defaultConfig = null, ?strin
if (array_key_exists('roles', $config['identity'])) {
$newConfig['identity']['roles'] = $config['identity']['roles'];
}
if (array_key_exists('username', $config['identity'])) {
$newConfig['identity']['username'] = $config['identity']['username'];
}
if (array_key_exists('domain', $config['identity'])) {
$newConfig['identity']['domain'] = $config['identity']['domain'];
}
}
if (array_key_exists('form', $config)) {
if (array_key_exists('name', $config['form'])) {
Expand Down Expand Up @@ -75,4 +81,3 @@ public function addFromArray(array $config, ?array $defaultConfig = null, ?strin
}
}
}

0 comments on commit d922ded

Please sign in to comment.