Commit c0b95238 authored by Mohamed Said's avatar Mohamed Said

Remove defalut auth:api middleware

parent 26895386
...@@ -69,7 +69,7 @@ class RouteServiceProvider extends ServiceProvider ...@@ -69,7 +69,7 @@ class RouteServiceProvider extends ServiceProvider
protected function mapApiRoutes() protected function mapApiRoutes()
{ {
Route::group([ Route::group([
'middleware' => ['api', 'auth:api'], 'middleware' => ['api'],
'namespace' => $this->namespace, 'namespace' => $this->namespace,
'prefix' => 'api', 'prefix' => 'api',
], function ($router) { ], function ($router) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment