Skip to content

Commit 4947f64

Browse files
committed
update csrf settings
1 parent f7ec713 commit 4947f64

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Python
22
Pipfile.lock
3+
__pycache__/
34

45
# Project specific
56
db.sqlite3

qlab/settings/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777

7878
AUTH_USER_MODEL = 'base.User'
7979

80+
CSRF_TRUSTED_ORIGINS = ['https://qlab.sites.tjhsst.edu']
81+
8082
LOGIN_REDIRECT_URL = reverse_lazy("base:index")
8183

8284
LOGOUT_REDIRECT_URL = reverse_lazy("base:index")

0 commit comments

Comments
 (0)