mirror of
https://github.com/exane/not-gwent-online
synced 2024-12-27 05:13:13 +00:00
34 lines
990 B
PHP
34 lines
990 B
PHP
|
<?php
|
||
|
|
||
|
namespace Gwent\Http;
|
||
|
|
||
|
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::class,
|
||
|
\Gwent\Http\Middleware\EncryptCookies::class,
|
||
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||
|
\Illuminate\Session\Middleware\StartSession::class,
|
||
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||
|
\Gwent\Http\Middleware\VerifyCsrfToken::class,
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* The application's route middleware.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $routeMiddleware = [
|
||
|
'auth' => \Gwent\Http\Middleware\Authenticate::class,
|
||
|
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
||
|
'guest' => \Gwent\Http\Middleware\RedirectIfAuthenticated::class,
|
||
|
];
|
||
|
}
|