Skip to content

Commit

Permalink
Ensure logout requires authentication (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed May 8, 2024
1 parent bf2271d commit c75396f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stubs/Auth/LoginController.stub
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ class LoginController extends Controller
public function __construct()
{
$this->middleware('guest')->except('logout');
$this->middleware('auth')->only('logout');
}
}

0 comments on commit c75396f

Please sign in to comment.