From 2466d29fe2319c1057cca7cf1e1977451088276e Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 2 Aug 2022 11:30:56 -0400 Subject: initial commit of laravel --- 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..704089a --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,21 @@ +expectsJson()) { + return route('login'); + } + } +} -- cgit v1.2.3