diff --git a/app/Http/Controllers/Auth/FireflyAuth.php b/app/Http/Controllers/Auth/FireflyAuth.php index fd9f6ec..9b581a4 100644 --- a/app/Http/Controllers/Auth/FireflyAuth.php +++ b/app/Http/Controllers/Auth/FireflyAuth.php @@ -16,6 +16,9 @@ trait FireflyAuth { use AuthenticatesUsers; + public function __construct() { + $this->middleware('guest')->except('logout'); + } public function logout(Request $request): RedirectResponse { auth()->logout();