File Manager Lite
Dir:
/home/u540325668/domains/mccsociety.org/public_html/app/Http/Middleware
Upload
[..]
Authenticate.php (464 B)
Edit
Rename
Del
AuthorMiddleware.php (505 B)
Edit
Rename
Del
CheckForMaintenanceMode.php (335 B)
Edit
Rename
Del
OperatorMiddleware.php (507 B)
Edit
Rename
Del
RedirectIfAuthenticated.php (1.12 KB)
Edit
Rename
Del
TrimStrings.php (340 B)
Edit
Rename
Del
TrustProxies.php (436 B)
Edit
Rename
Del
Edit: Authenticate.php
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string */ protected function redirectTo($request) { if (! $request->expectsJson()) { return route('login'); } } }
Simpan