implements security on recovering password and redis connector

This commit is contained in:
2018-08-17 17:54:17 +02:00
parent 35683a7289
commit 480655f31b
12 changed files with 630 additions and 15 deletions

View File

@@ -82,6 +82,9 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
$container->setParameter('chill_main.notifications',
$config['notifications']);
$container->setParameter('chill_main.redis',
$config['redis']);
// add the key 'widget' without the key 'enable'
$container->setParameter('chill_main.widgets',
isset($config['widgets']['homepage']) ?
@@ -104,6 +107,7 @@ class ChillMainExtension extends Extension implements PrependExtensionInterface,
$loader->load('services/menu.yml');
$loader->load('services/security.yml');
$loader->load('services/notification.yml');
$loader->load('services/redis.yml');
}
public function getConfiguration(array $config, ContainerBuilder $container)