Fix api middleware call

This commit is contained in:
snipe 2017-01-11 14:50:38 -08:00
parent 93a087b29a
commit c08fe196c4

View file

@ -77,7 +77,7 @@ class RouteServiceProvider extends ServiceProvider
protected function mapApiRoutes()
{
Route::group([
'middleware' => 'api',
'middleware' => 'auth:api',
'namespace' => $this->namespace,
'prefix' => 'api',
], function ($router) {