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
|
@ -775,6 +775,15 @@ module.controller('GenericUserStorageCtrl', function($scope, $location, Notifica
|
|||
if (!instance.config['priority']) {
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue