KEYCLOAK-5506: Set empty fed config prop fails in admin console (#4625)
This commit is contained in:
parent
ffc0d7fc7c
commit
1db3134df8
1 changed files with 9 additions and 0 deletions
|
@ -776,6 +776,15 @@ module.controller('GenericUserStorageCtrl', function($scope, $location, Notifica
|
|||
instance.config['priority'] = ['0'];
|
||||
}
|
||||
|
||||
if (providerFactory.properties) {
|
||||
for (var i = 0; i < providerFactory.properties.length; i++) {
|
||||
var configProperty = providerFactory.properties[i];
|
||||
if (!instance.config[configProperty.name]) {
|
||||
instance.config[configProperty.name] = [''];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if (providerFactory.metadata.synchronizable) {
|
||||
if (instance.config && instance.config['importEnabled']) {
|
||||
|
|
Loading…
Reference in a new issue