Skip to content

Commit

Permalink
Updates the JWS initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
artstorm committed Jul 7, 2015
1 parent 671c473 commit 094270e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/Extensions/JWTAuth/NamshiAdapter.php
Expand Up @@ -31,7 +31,7 @@ public function __construct($secret, $algo, $driver = null)

parent::__construct($secret, $algo);

$this->jws = $driver ?: new JWS($algo);
$this->jws = $driver ?: new JWS(['alg' => $algo]);
}

/**
Expand Down

0 comments on commit 094270e

Please sign in to comment.