From aa1a63def08bcef08309bfc740d8190d96b38cb6 Mon Sep 17 00:00:00 2001 From: pitchum Date: Thu, 20 Jun 2019 11:08:40 +0200 Subject: [PATCH] Disable unused route "api/user" (workaround #13) See also https://github.com/laravel/framework/issues/22034 --- routes/api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routes/api.php b/routes/api.php index 6b907f3..8b33764 100644 --- a/routes/api.php +++ b/routes/api.php @@ -13,6 +13,6 @@ | */ -Route::get('/user', function (Request $request) { - return $request->user(); -})->middleware('auth:api'); +//Route::get('/user', function (Request $request) { +// return $request->user(); +//})->middleware('auth:api');