firefly-iii/app/Http/Kernel.php

33 lines
868 B
PHP
Raw Normal View History

2015-02-05 21:52:16 -06:00
<?php namespace FireflyIII\Http;
2015-02-05 21:39:52 -06:00
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel {
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
'Illuminate\Cookie\Middleware\EncryptCookies',
'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
'Illuminate\Session\Middleware\StartSession',
'Illuminate\View\Middleware\ShareErrorsFromSession',
2015-02-05 21:52:16 -06:00
'FireflyIII\Http\Middleware\VerifyCsrfToken',
2015-02-05 21:39:52 -06:00
];
/**
* The application's route middleware.
*
* @var array
*/
protected $routeMiddleware = [
2015-02-05 21:52:16 -06:00
'auth' => 'FireflyIII\Http\Middleware\Authenticate',
2015-02-05 21:39:52 -06:00
'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
2015-02-05 21:52:16 -06:00
'guest' => 'FireflyIII\Http\Middleware\RedirectIfAuthenticated',
2015-02-05 21:39:52 -06:00
];
}