From fb0c574ed1725fe13c8ab073d2ead3fdc842c2ba Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Fri, 1 Nov 2019 22:56:27 +0000 Subject: Added laravel project --- app/Http/Middleware/Authenticate.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/Http/Middleware/Authenticate.php (limited to 'app/Http/Middleware/Authenticate.php') diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php new file mode 100644 index 0000000..a4be5c5 --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,21 @@ +expectsJson()) { + return route('login'); + } + } +} -- cgit v1.2.3