Skip to content

Commit 993c93b

Browse files
SejiLcimnine
authored andcommitted
Add CSRF option to extra.py
1 parent df41020 commit 993c93b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configuration/extra.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@
5353
# from datetime import datetime
5454
# now = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
5555
# BANNER_TOP = f'<marquee width="200px">This instance started on {now}.</marquee>'
56+
57+
# Allow CSRF trusted origins, e.g:
58+
# CSRF_TRUSTED_ORIGINS = ['http://netbox.example.com']
59+

0 commit comments

Comments
 (0)