From 9d1a810fa983a045294e6d0b8ad761f5dbfb8939 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 5 Dec 2018 17:31:36 +0100 Subject: Initial commit (actually already finished) --- 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