From 4f9e7ff026a604ff0cbec161b9bddb0f07c4fe99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 14 Nov 2024 07:33:09 +0100 Subject: [PATCH 1/1] Set rapsysuser.default.{admin,group} keys --- DependencyInjection/RapsysUserExtension.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DependencyInjection/RapsysUserExtension.php b/DependencyInjection/RapsysUserExtension.php index d69ee4d..e7b4d5a 100644 --- a/DependencyInjection/RapsysUserExtension.php +++ b/DependencyInjection/RapsysUserExtension.php @@ -44,6 +44,12 @@ class RapsysUserExtension extends Extension { //Save configuration in parameters $container->setParameter($alias, $config); + //Set rapsysuser.default.admin key + $container->setParameter($alias.'.default.admin', $config['default']['admin']); + + //Set rapsysuser.default.group key + $container->setParameter($alias.'.default.group', $config['default']['group']); + //Set rapsysuser.alias key $container->setParameter($alias.'.alias', $alias); -- 2.41.1