Added the actual logic

This commit is contained in:
stanjg 2018-05-04 15:02:51 +02:00
parent 7cf79a12cb
commit 86c8ecdcdf
No known key found for this signature in database
GPG key ID: 27D9DF9D28935303
7 changed files with 101 additions and 2 deletions

View file

@ -2,6 +2,7 @@
namespace Pterodactyl\Http;
use Pterodactyl\Http\Middleware\MaintenanceMiddleware;
use Pterodactyl\Models\ApiKey;
use Illuminate\Auth\Middleware\Authorize;
use Illuminate\Auth\Middleware\Authenticate;
@ -108,6 +109,7 @@ class Kernel extends HttpKernel
'can' => Authorize::class,
'bindings' => SubstituteBindings::class,
'recaptcha' => VerifyReCaptcha::class,
'maintenance' => MaintenanceMiddleware::class,
// Server specific middleware (used for authenticating access to resources)
//