X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/app/Http/Middleware
home
/
prisjneg
/
public_html
/
app
/
Http
/
Middleware
/
📁
..
📄
Authenticate.php
(409 B)
📄
EncryptCookies.php
(307 B)
📄
PreventRequestsDuringMaintenance.php
(366 B)
📄
RedirectIfAuthenticated.php
(760 B)
📄
TrimStrings.php
(381 B)
📄
TrustHosts.php
(379 B)
📄
TrustProxies.php
(649 B)
📄
ValidateSignature.php
(460 B)
📄
VerifyCsrfToken.php
(320 B)
Editing: Authenticate.php
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; use Illuminate\Http\Request; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. */ protected function redirectTo(Request $request): ?string { return $request->expectsJson() ? null : route('login'); } }
Upload File
Create Folder