From 4f2439ae1c8ac45cc69da1493ee94a8ca4ba332d Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 14 Dec 2016 10:53:01 -0800 Subject: [PATCH] Add Passport API token generator --- app/Http/Kernel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index aa1f04f1eb..40fa9c9190 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -37,6 +37,7 @@ class Kernel extends HttpKernel \App\Http\Middleware\VerifyCsrfToken::class, \App\Http\Middleware\CheckLocale::class, \App\Http\Middleware\CheckForTwoFactor::class, + \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class, ], 'api' => [