1
0
mirror of https://github.com/etesync/server synced 2024-12-26 17:28:08 +00:00
etesync-server/etebase_server
Craeckie 19aba5345a
added CSRF_TRUSTED_ORIGINS (#183)
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`.
2024-06-09 23:27:49 +03:00
..
django Fix rust complaints. 2024-06-08 18:04:59 -04:00
fastapi Fix issue with how we render binary 422 errors 2024-06-08 22:54:02 -04:00
myauth Fix rust complaints. 2024-06-08 18:04:59 -04:00
templates fix: move template directory into source directory 2022-05-09 17:41:16 +02:00
__init__.py Create a new django project. 2020-07-08 17:57:57 +03:00
asgi.py fix: move etebase_fastapi module from toplevel to under etebase_server 2022-05-09 17:41:16 +02:00
settings.py added CSRF_TRUSTED_ORIGINS (#183) 2024-06-09 23:27:49 +03:00
urls.py Run ruff format. 2024-06-08 17:51:44 -04:00
utils.py Run ruff format. 2024-06-08 17:51:44 -04:00