ClinGen / stanford-affils

Stanford ClinGen's affiliations service
MIT License
0 stars 0 forks source link

feat: Add CSRF trusted origin #131

Closed sanchegm closed 1 week ago

sanchegm commented 2 weeks ago

Add CSRF_TRUSTED_ORIGINS value in settings.py based on this documentation: -https://docs.djangoproject.com/en/4.2/ref/settings/#csrf-trusted-origins Found this django forums question very similar to this issue and this is how it was recommended to solve:

After making this change, was able to log into Django Admin without the error.

Screenshot 2024-08-29 at 1 50 41 PM
sanchegm commented 1 week ago

Sounds good! Thanks!