Skip to content

Commit

Permalink
Issue #2768703 by jmarcou, gabesullice: Empty key in JwtValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
gabesullice committed Jul 19, 2016
1 parent 03f4bce commit 02b3686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator/JwtValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct(RequestStack $request_stack, JwtTranscoderInterface

$key_id = $config_factory->get('jwt.config')->get('key_id');
if (isset($key_id)) {
$key = $key_repo->getKey('jwt_key');
$key = $key_repo->getKey($key_id);

if (!is_null($key)) {
$secret = $key->getKeyValue();
Expand Down

0 comments on commit 02b3686

Please sign in to comment.