mirror of
https://github.com/etesync/server
synced 2024-12-26 17:28:08 +00:00
19aba5345a
Since some recent upgrade, I'm not able to login to the admin page of etesync (`/admin/login/`), because the CSRF check fails. After adding `CSRF_TRUSTED_ORIGINS = ['https://my-domain.com']`, it works. According to the [docs](https://docs.djangoproject.com/en/4.2/ref/settings/#csrf-trusted-origins), this setting is required in addition to `ALLOWED_HOSTS`. |
||
---|---|---|
.. | ||
django | ||
fastapi | ||
myauth | ||
templates | ||
__init__.py | ||
asgi.py | ||
settings.py | ||
urls.py | ||
utils.py |