mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: align CSRF settings with deployment config (#18116)
This commit is contained in:
@ -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