From 216fe441cf8a8c7013e85f4126d3b3bc56d9e378 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Fri, 30 May 2025 09:30:49 -0500 Subject: [PATCH] chore: align CSRF settings with deployment config (#18116) --- coderd/coderd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/coderd.go b/coderd/coderd.go index 0aab4b2626..c8cd3742c5 100644 --- a/coderd/coderd.go +++ b/coderd/coderd.go @@ -860,7 +860,7 @@ func New(options *Options) *API { next.ServeHTTP(w, r) }) }, - // httpmw.CSRF(options.DeploymentValues.HTTPCookies), + httpmw.CSRF(options.DeploymentValues.HTTPCookies), ) // This incurs a performance hit from the middleware, but is required to make sure