mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(security): add initial support for HSTS and CSP BE-11311 (#47)
Some checks failed
Label Conflicts / triage (push) Has been cancelled
Some checks failed
Label Conflicts / triage (push) Has been cancelled
This commit is contained in:
parent
ac293cda1c
commit
3114d4b5c5
5 changed files with 37 additions and 23 deletions
|
@ -1646,7 +1646,7 @@ const (
|
|||
)
|
||||
|
||||
// List of supported features
|
||||
var SupportedFeatureFlags = []featureflags.Feature{}
|
||||
var SupportedFeatureFlags = []featureflags.Feature{"hsts", "csp"}
|
||||
|
||||
const (
|
||||
_ AuthenticationMethod = iota
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue