Update RouteServiceProvider.php
Removed the CSRF provider as it is specified in the Kernel.
This commit is contained in:
@@ -24,7 +24,6 @@ class RouteServiceProvider extends ServiceProvider {
|
|||||||
protected $middleware = [
|
protected $middleware = [
|
||||||
'auth' => 'App\Http\Middleware\Authenticated',
|
'auth' => 'App\Http\Middleware\Authenticated',
|
||||||
'auth.basic' => 'App\Http\Middleware\AuthenticatedWithBasicAuth',
|
'auth.basic' => 'App\Http\Middleware\AuthenticatedWithBasicAuth',
|
||||||
'csrf' => 'App\Http\Middleware\VerifyCsrfToken',
|
|
||||||
'guest' => 'App\Http\Middleware\IsGuest',
|
'guest' => 'App\Http\Middleware\IsGuest',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user