2024-06-10 13:36:38 +00:00
|
|
|
diff --git a/authentik/root/settings.py b/authentik/root/settings.py
|
|
|
|
index 15e689b06..8b0c1d744 100644
|
|
|
|
--- a/authentik/root/settings.py
|
2022-12-27 20:40:33 +00:00
|
|
|
+++ b/authentik/root/settings.py
|
2024-06-10 13:36:38 +00:00
|
|
|
@@ -33,6 +33,7 @@ AUTH_USER_MODEL = "authentik_core.User"
|
2022-12-27 20:40:33 +00:00
|
|
|
|
|
|
|
CSRF_COOKIE_NAME = "authentik_csrf"
|
|
|
|
CSRF_HEADER_NAME = "HTTP_X_AUTHENTIK_CSRF"
|
2023-08-30 18:34:09 +00:00
|
|
|
+CSRF_TRUSTED_ORIGINS = CONFIG.get("csrf.trusted_origins")
|
2022-12-27 20:40:33 +00:00
|
|
|
LANGUAGE_COOKIE_NAME = "authentik_language"
|
|
|
|
SESSION_COOKIE_NAME = "authentik_session"
|
2023-08-30 18:34:09 +00:00
|
|
|
SESSION_COOKIE_DOMAIN = CONFIG.get("cookie_domain", None)
|