From 653f6c4d63442b287f2dc24968c998af6e13e3c9 Mon Sep 17 00:00:00 2001 From: Matt Lantz Date: Tue, 27 Aug 2024 09:48:37 -0400 Subject: [PATCH] because of component updates --- composer.json | 2 +- src/stubs/auth-controllers/LoginController.stub | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 0b382e0..c3e0a96 100755 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ } ], "require": { - "php": "^7.2.5|^8.0|^8.2", + "php": "^7.2.5|^8.0|^8.2|^8.3", "illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0", "illuminate/console": "^7.0|^8.0|^9.0|^10.0|^11.0", "illuminate/filesystem": "^7.0|^8.0|^9.0|^10.0|^11.0" diff --git a/src/stubs/auth-controllers/LoginController.stub b/src/stubs/auth-controllers/LoginController.stub index ba22cf6..17f025a 100644 --- a/src/stubs/auth-controllers/LoginController.stub +++ b/src/stubs/auth-controllers/LoginController.stub @@ -36,5 +36,6 @@ class LoginController extends Controller public function __construct() { $this->middleware('guest')->except('logout'); + $this->middleware('auth')->only('logout'); } }