diff options
| author | Horus | 2021-01-14 12:09:03 +0100 |
|---|---|---|
| committer | Horus | 2021-01-14 12:09:03 +0100 |
| commit | 5269a15bcffe0a5084092fc61f445c0bee588baa (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /app/Http/Middleware/Authenticate.php | |
| parent | 0e92c9d4bcf6c3fb422493cd6b44eeced1219c06 (diff) | |
| download | zeitumstellung-5269a15bcffe0a5084092fc61f445c0bee588baa.tar.gz | |
Delete Laravel app.
Diffstat (limited to 'app/Http/Middleware/Authenticate.php')
| -rw-r--r-- | app/Http/Middleware/Authenticate.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php deleted file mode 100644 index 704089a..0000000 --- a/app/Http/Middleware/Authenticate.php +++ /dev/null @@ -1,21 +0,0 @@ -<?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|null - */ - protected function redirectTo($request) - { - if (! $request->expectsJson()) { - return route('login'); - } - } -} |
