[main] allow hide change user password menu

This commit is contained in:
nobohan
2022-05-16 13:52:55 +02:00
parent 8eef073988
commit f77031630f
4 changed files with 25 additions and 9 deletions

View File

@@ -129,6 +129,11 @@ class ChillMainExtension extends Extension implements
$config['access_global_history']
);
$container->setParameter(
'chill_main.access_user_change_password',
$config['access_user_change_password']
);
$container->setParameter(
'chill_main.routing.resources',
$config['routing']['resources']

View File

@@ -116,6 +116,9 @@ class Configuration implements ConfigurationInterface
->booleanNode('access_global_history')
->defaultTrue()
->end()
->booleanNode('access_user_change_password')
->defaultTrue()
->end()
->arrayNode('redis')
->children()
->scalarNode('host')