From fa7e04aee9537dbd3f47d7fa3108e4ab0648d481 Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Fri, 11 Nov 2016 00:03:28 +0000 Subject: [PATCH] Fixed admin area, this took far too long to fix --- app/Http/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index cbee58e2..1192798c 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -55,9 +55,9 @@ class Kernel extends HttpKernel 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, 'can' => \Illuminate\Auth\Middleware\Authorize::class, 'auth.oauth' => \Poniverse\Ponyfm\Http\Middleware\AuthenticateOAuth::class, -// 'can' => \Poniverse\Ponyfm\Http\Middleware\Authorize::class, + 'can' => \Poniverse\Ponyfm\Http\Middleware\Authorize::class, 'json-exceptions' => \Poniverse\Ponyfm\Http\Middleware\JsonExceptions::class, - 'can' => \Illuminate\Foundation\Http\Middleware\Authorize::class, + //'can' => \Illuminate\Foundation\Http\Middleware\Authorize::class, 'guest' => \Poniverse\Ponyfm\Http\Middleware\RedirectIfAuthenticated::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, ];