Skip to content

Commit

Permalink
fix missing $config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliboy50 committed Feb 18, 2019
1 parent 5240060 commit 43300af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/LexikJWTAuthenticationExtension.php
Expand Up @@ -52,7 +52,7 @@ public function load(array $configs, ContainerBuilder $container)
$container->setParameter('lexik_jwt_authentication.public_key_path', $config['public_key']);
}

if (empty($config['public_key']) && empty(['secret_key'])) {
if (empty($config['public_key']) && empty($config['secret_key'])) {
throw new InvalidConfigurationException('You must either configure a "public_key" or a "secret_key".', 'lexik_jwt_authentication');
}

Expand Down

0 comments on commit 43300af

Please sign in to comment.