Override jwt.auth middleware

This commit is contained in:
Manish Verma
2018-08-10 14:51:43 +05:30
parent 88483e5ae6
commit 91cf657c95
3 changed files with 69 additions and 19 deletions

View File

@@ -59,7 +59,7 @@ class ApiController extends Controller
{
$this->request = $request;
$this->middleware('jwt.auth');
$this->middleware('jwt.authOveride');
$this->middleware('api', ['except' => 'GenerateApiKey']);
try {