mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-07 08:34:00 +01:00
Add CSRF option to extra.py
This commit is contained in:
parent
df41020cb8
commit
993c93b34a
@ -53,3 +53,7 @@
|
|||||||
# from datetime import datetime
|
# from datetime import datetime
|
||||||
# now = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
|
# now = datetime.now().strftime("%d/%m/%Y %H:%M:%S")
|
||||||
# BANNER_TOP = f'<marquee width="200px">This instance started on {now}.</marquee>'
|
# BANNER_TOP = f'<marquee width="200px">This instance started on {now}.</marquee>'
|
||||||
|
|
||||||
|
# Allow CSRF trusted origins, e.g:
|
||||||
|
# CSRF_TRUSTED_ORIGINS = ['http://netbox.example.com']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user