mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
chore: align CSRF settings with deployment config (#18116)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user