Skip to content

Commit

Permalink
fix: revert changes for testing OAuth locally
Browse files Browse the repository at this point in the history
  • Loading branch information
kunfang98927 committed Feb 20, 2025
1 parent f60a157 commit efb17d9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web-app/django/VIM/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,7 @@
# DEPLOYMENT SETTINGS

CSRF_COOKIE_SECURE = IS_PRODUCTION
CSRF_TRUSTED_ORIGINS = [
f'https://{os.environ.get("HOST_NAME")}',
"https://vim.simssa.ca",
]
CSRF_TRUSTED_ORIGINS = [f'https://{os.environ.get("HOST_NAME")}']
SESSION_COOKIE_SECURE = IS_PRODUCTION

# Wikidata settings
Expand Down

0 comments on commit efb17d9

Please sign in to comment.