re-adds the middleware

This commit is contained in:
Connor S. Parks
2016-10-19 16:28:25 +01:00
parent 0d81392414
commit 25bba1c178

View File

@@ -33,6 +33,7 @@ class Kernel extends HttpKernel
protected $routeMiddleware = [
'admin' => 'CachetHQ\Cachet\Http\Middleware\Admin',
'can' => 'Illuminate\Auth\Middleware\Authorize',
'auth' => 'Illuminate\Auth\Middleware\Authenticate',
'auth.api' => 'CachetHQ\Cachet\Http\Middleware\ApiAuthentication',
'guest' => 'CachetHQ\Cachet\Http\Middleware\RedirectIfAuthenticated',
'localize' => 'CachetHQ\Cachet\Http\Middleware\Localize',