Skip to content

Commit d922ded

Browse files
authored
Update RequestConfigList.php
1 parent b01044c commit d922ded

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Config/RequestConfigList.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ public function addFromArray(array $config, ?array $defaultConfig = null, ?strin
4747
if (array_key_exists('roles', $config['identity'])) {
4848
$newConfig['identity']['roles'] = $config['identity']['roles'];
4949
}
50+
if (array_key_exists('username', $config['identity'])) {
51+
$newConfig['identity']['username'] = $config['identity']['username'];
52+
}
53+
if (array_key_exists('domain', $config['identity'])) {
54+
$newConfig['identity']['domain'] = $config['identity']['domain'];
55+
}
5056
}
5157
if (array_key_exists('form', $config)) {
5258
if (array_key_exists('name', $config['form'])) {
@@ -75,4 +81,3 @@ public function addFromArray(array $config, ?array $defaultConfig = null, ?strin
7581
}
7682
}
7783
}
78-

0 commit comments

Comments
 (0)