From 993c93b34ab4c2f263f8af055c76de4ce620ef9a Mon Sep 17 00:00:00 2001 From: SejiL Date: Tue, 7 Jun 2022 10:39:23 +0430 Subject: [PATCH] Add CSRF option to extra.py --- configuration/extra.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration/extra.py b/configuration/extra.py index 46f1877..6d4c9b3 100644 --- a/configuration/extra.py +++ b/configuration/extra.py @@ -53,3 +53,7 @@ # from datetime import datetime # now = datetime.now().strftime("%d/%m/%Y %H:%M:%S") # BANNER_TOP = f'This instance started on {now}.' + +# Allow CSRF trusted origins, e.g: +# CSRF_TRUSTED_ORIGINS = ['http://netbox.example.com'] +