Skip to content

Commit

Permalink
CSRF
Browse files Browse the repository at this point in the history
  • Loading branch information
altf4arnold committed Mar 26, 2024
1 parent 09b074a commit b1d4f4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
DBUSER = "tldtest"

DBPASSWORD = "clubmate2010"

CSRF_TRUSTED_ORIGINS = []
2 changes: 2 additions & 0 deletions tldtest/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

ALLOWED_HOSTS = config.ALLOWED_HOSTS

CSRF_TRUSTED_ORIGINS = config.CSRF_TRUSTED_ORIGINS

# Application definition

INSTALLED_APPS = [
Expand Down

0 comments on commit b1d4f4e

Please sign in to comment.