From 8af402a9e2589d459fe1ae8a85effe2951e1d904 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Tue, 13 Jun 2023 21:59:16 +0100 Subject: Initialize laravel app --- app/Http/Middleware/Authenticate.php | 17 +++++++++++++++++ 1 file changed, 17 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..d4ef644 --- /dev/null +++ b/app/Http/Middleware/Authenticate.php @@ -0,0 +1,17 @@ +expectsJson() ? null : route('login'); + } +} -- cgit v1.2.3-54-g00ecf