Update code to work with stricter JWT library checks
This commit is contained in:
parent
6e6b853112
commit
903ebf56eb
2 changed files with 6 additions and 3 deletions
|
@ -85,7 +85,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
|
||||
// Configure JWT builder
|
||||
$this->app->bind('Lcobucci\JWT\Configuration', function () {
|
||||
$key = InMemory::plainText('testing');
|
||||
$key = InMemory::plainText(config('app.key'));
|
||||
|
||||
$config = Configuration::forSymmetricSigner(new Sha256(), $key);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue