Fixed up the middleware

This commit is contained in:
Graham Campbell
2015-06-10 14:03:31 +01:00
parent 7b61ad0445
commit 9315de8a4c
6 changed files with 21 additions and 44 deletions

View File

@@ -39,7 +39,7 @@ class Kernel extends HttpKernel
'auth.api' => 'CachetHQ\Cachet\Http\Middleware\ApiAuthenticate',
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
'guest' => 'CachetHQ\Cachet\Http\Middleware\RedirectIfAuthenticated',
'csrf' => 'CachetHQ\Cachet\Http\Middleware\VerifyCsrfToken',
'csrf' => 'Illuminate\Foundation\Http\Middleware\VerifyCsrfToken',
'admin' => 'CachetHQ\Cachet\Http\Middleware\Admin',
'login.throttling' => 'CachetHQ\Cachet\Http\Middleware\LoginThrottling',
'app.isSetup' => 'CachetHQ\Cachet\Http\Middleware\AppIsSetup',