Skip to content

Commit b71d0a1

Browse files
committed
added csrf trusted origins
1 parent d8fe02c commit b71d0a1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

db.sqlite3

0 Bytes
Binary file not shown.

mps/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,6 @@
141141
"staticfiles": {
142142
"BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage",
143143
},
144-
}
144+
}
145+
146+
CSRF_TRUSTED_ORIGINS = ['dcumps.ie', 'test.dcumps.ie', 'www.dcumps.ie', 'www.dcumps.com', 'dcumps.com', 'mps.rb.dcu.ie']

0 commit comments

Comments
 (0)