added generic rules for auth firewall (#1472)
This commit is contained in:
@@ -83,6 +83,11 @@ class ConfigurationRepository extends EntityRepository implements ConfigLoaderIn
|
||||
$entity->setName($configuration->getName());
|
||||
}
|
||||
|
||||
// allow to use entity types
|
||||
if (is_object($value) && method_exists($value, 'getId')) {
|
||||
$value = $value->getId();
|
||||
}
|
||||
|
||||
$entity->setValue($value);
|
||||
|
||||
$em->persist($entity);
|
||||
|
||||
Reference in New Issue
Block a user