diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index c7e1eb40..b4a48e6f 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -69,16 +69,9 @@ class Kernel extends HttpKernel */ protected $routeMiddleware = [ 'auth' => \App\Http\Middleware\Authenticate::class, - 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, - 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, - 'can' => \Illuminate\Auth\Middleware\Authorize::class, - 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, - 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, - 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, + 'guest' => \App\Http\Middleware\RejectIfAuthenticated::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, - 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 'AvoidResetPassword' => \App\Http\Middleware\AvoidPasswordResetInDemo::class, - 'Json.response' => \App\Http\Middleware\ForceJsonResponse::class, ]; /**