Skip to content

Commit

Permalink
typo in argument invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundofuentes committed Aug 2, 2023
1 parent e52c25f commit 7c2476c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DependencyInjection/AngleOneLoginAzureSamlExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function load(array $configs, ContainerBuilder $container): void
$loader->load('services.php');

$container->setParameter('angle_one_login_azure_saml.settings', $config);
$container->setParameter('angle_one_login_azure_saml.trust_proxy', $config['app_trust_proxy']);

// at this point, parameters should have already been loaded, so we can read directly from them instead of traversing the $config array
$azureAppId = $config['azure_app_id'];
Expand Down
2 changes: 1 addition & 1 deletion Resources/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/* 6 */ null, // user factory
/* 7 */ service(\Symfony\Contracts\EventDispatcher\EventDispatcherInterface::class)->nullOnInvalid(),
/* 8 */ service(\Psr\Log\LoggerInterface::class)->nullOnInvalid(),
/* 9 */ '%angle_one_login_azure_saml.settings.app_trust_proxy%'
/* 9 */ '%angle_one_login_azure_saml.trust_proxy%'
])
;

Expand Down

0 comments on commit 7c2476c

Please sign in to comment.