openscanhub: add CSRF_TRUSTED_ORIGINS in settings

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2024-09-19 12:05:28 +02:00
parent abc37890ab
commit f5b2e01db5

View file

@ -167,3 +167,5 @@ SINGLE_USE_WORKER_SSH_PRIVATE_KEY = "/etc/osh/worker-manager/id_rsa"
NOTIFICATION_EMAIL_FOOTER = """You can reply to this e-mail to initiate a discussion on https://lists.fedoraproject.org/archives/list/openscanhub@lists.fedoraproject.org/"""
ALLOWED_HOSTS = ['openscanhub{{ env_suffix }}.fedoraproject.org']
CSRF_TRUSTED_ORIGINS = ['https://openscanhub{{ env_suffix }}.fedoraproject.org']