Skip to content

Commit

Permalink
Fixed prepend extension to correctly load 'encryption' section (#40)
Browse files Browse the repository at this point in the history
* Fixed prepend extension correctly load 'encryption' section
  • Loading branch information
hpatoio authored and Spomky committed Jul 9, 2018
1 parent b17b4b0 commit 0c278cb
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 @@ -92,7 +92,7 @@ public function prepend(ContainerBuilder $container)
ConfigurationHelper::addHeaderChecker($container, $this->getAlias().'_signature', ['lexik_jose_signature_algorithm']);
ConfigurationHelper::addKeyset($container, 'lexik_jose_bridge.signature', 'jwkset', ['value' => $bridgeConfig['key_set'], 'is_public' => $isDebug]);

if (true === $bridgeConfig['encryption']['enabled']) {
if (isset($bridgeConfig['encryption']['enabled']) && (true === $bridgeConfig['encryption']['enabled'])) {
$this->enableEncryptionSupport($container, $bridgeConfig, $isDebug);
}

Expand Down

0 comments on commit 0c278cb

Please sign in to comment.