Skip to content

Commit

Permalink
fix: Add CSRF_TRUSTED_ORIGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioadamo committed Jul 31, 2024
1 parent 5f370cb commit 8d6a948
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/apivault/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,6 @@
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
)

CSRF_TRUSTED_ORIGINS = ['https://*.apivault.dev', 'http://localhost']

0 comments on commit 8d6a948

Please sign in to comment.