Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tcms_settings_dir/enterprise.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,10 @@

# make sure users from LDAP are assigned default settings
LDAP_AUTH_SYNC_USER_RELATIONS = 'tcms_enterprise.ldap.sync_user_relations'

# WARNING: these require a correct, non-self-signed SSL certificate
# Strict-Transport-Security header settings
# https://docs.djangoproject.com/en/4.2/ref/settings/#secure-hsts-include-subdomains
# https://docs.djangoproject.com/en/4.2/ref/settings/#secure-hsts-seconds
SECURE_HSTS_SECONDS = 60 * 24 * 365
SECURE_HSTS_INCLUDE_SUBDOMAINS = True