Skip to content

Commit

Permalink
csrf added
Browse files Browse the repository at this point in the history
  • Loading branch information
supsa-ak committed Dec 20, 2021
1 parent 6e2c104 commit 3e79c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BudMan/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ['127.0.0.1:8000', 'budman.azurewebsites.net']
ALLOWED_HOSTS = ['127.0.0.1', 'budman.azurewebsites.net']

CSRF_TRUSTED_ORIGINS = ['https://budman.azurewebsites.net']

# Application definition

Expand Down
Binary file modified db.sqlite3
Binary file not shown.

0 comments on commit 3e79c87

Please sign in to comment.