diff --git a/containers/auth-gateway/auth_gateway/settings.py b/containers/auth-gateway/auth_gateway/settings.py index 9d0717d..724f6bf 100644 --- a/containers/auth-gateway/auth_gateway/settings.py +++ b/containers/auth-gateway/auth_gateway/settings.py @@ -10,6 +10,7 @@ class Settings(BaseSettings): config_dir: Path = Field(default=Path("/caddy_json_export")) database_path: Path = Field(default=Path("/data/auth-gateway.sqlite3")) cookie_name: str = Field(default="auth_gateway_session") + csrf_cookie_name: str = Field(default="auth_gateway_csrf") external_path: str = Field(default="/auth-gateway") secure_cookies: bool = Field(default=True) session_default_minutes: int = Field(default=720) diff --git a/containers/auth-gateway/auth_gateway/templates/login_password.html b/containers/auth-gateway/auth_gateway/templates/login_password.html index 21873f9..2ec7031 100644 --- a/containers/auth-gateway/auth_gateway/templates/login_password.html +++ b/containers/auth-gateway/auth_gateway/templates/login_password.html @@ -7,6 +7,7 @@
{{ error }}
{% endif %}
+