Skip to content

Commit 3b7334f

Browse files
committed
Ensure logout requires authentication
1 parent bf2271d commit 3b7334f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: stubs/Auth/LoginController.stub

+1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ class LoginController extends Controller
3535
public function __construct()
3636
{
3737
$this->middleware('guest')->except('logout');
38+
$this->middleware('auth')->only('logout');
3839
}
3940
}

0 commit comments

Comments
 (0)