Update deprecated JSON response creation and unnecessary middleware
This commit is contained in:
parent
f5ad9b9e11
commit
530558b0f8
11 changed files with 9 additions and 91 deletions
app/Http
|
@ -2,11 +2,11 @@
|
|||
|
||||
namespace Pterodactyl\Http;
|
||||
|
||||
use Illuminate\Http\Middleware\TrustProxies;
|
||||
use Pterodactyl\Models\ApiKey;
|
||||
use Illuminate\Auth\Middleware\Authorize;
|
||||
use Illuminate\Auth\Middleware\Authenticate;
|
||||
use Pterodactyl\Http\Middleware\TrimStrings;
|
||||
use Pterodactyl\Http\Middleware\TrustProxies;
|
||||
use Illuminate\Session\Middleware\StartSession;
|
||||
use Pterodactyl\Http\Middleware\EncryptCookies;
|
||||
use Pterodactyl\Http\Middleware\Api\IsValidJson;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue