mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 15:55:14 +00:00
Add new middleware to kernel
This commit is contained in:
parent
32ef92b917
commit
f4603207c7
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ class Kernel extends HttpKernel
|
||||||
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
|
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
|
||||||
'can' => \Illuminate\Auth\Middleware\Authorize::class,
|
'can' => \Illuminate\Auth\Middleware\Authorize::class,
|
||||||
'dangerzone' => \App\Http\Middleware\DangerZone::class,
|
'dangerzone' => \App\Http\Middleware\DangerZone::class,
|
||||||
|
'localization' => \App\Http\Middleware\Localization::class,
|
||||||
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
||||||
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
|
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
|
||||||
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||||
|
|
Loading…
Reference in a new issue