Skip to content

Commit

Permalink
Pull parameter from correct config path (#37)
Browse files Browse the repository at this point in the history
Pull lexik_jose_bridge.encoder.encryption.key_index parameter from correct config path
  • Loading branch information
garthbrantley authored and Spomky committed May 3, 2018
1 parent 25a2cf5 commit e9abd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/SpomkyLabsLexikJoseExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function load(array $configs, ContainerBuilder $container)

$container->setParameter('lexik_jose_bridge.encoder.encryption.enabled', $config['encryption']['enabled']);
if (true === $config['encryption']['enabled']) {
$container->setParameter('lexik_jose_bridge.encoder.encryption.key_index', $config['key_index']);
$container->setParameter('lexik_jose_bridge.encoder.encryption.key_index', $config['encryption']['key_index']);
$container->setParameter('lexik_jose_bridge.encoder.encryption.key_encryption_algorithm', $config['encryption']['key_encryption_algorithm']);
$container->setParameter('lexik_jose_bridge.encoder.encryption.content_encryption_algorithm', $config['encryption']['content_encryption_algorithm']);
$this->loadEncryptionServices($container);
Expand Down

0 comments on commit e9abd28

Please sign in to comment.