You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/01/16 19:51:06 UTC

(tooling-trusted-releases) branch main updated: Remove the ability to configure CSRF protection

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 912d6d1  Remove the ability to configure CSRF protection
912d6d1 is described below

commit 912d6d10a186e5f228c8474381568165b27ff17c
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Jan 16 19:50:47 2026 +0000

    Remove the ability to configure CSRF protection
---
 atr/config.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/atr/config.py b/atr/config.py
index 46f1b66..94f5421 100644
--- a/atr/config.py
+++ b/atr/config.py
@@ -65,7 +65,6 @@ class AppConfig:
     USE_BLOCKBUSTER = False
     JWT_SECRET_KEY = _config_secrets("JWT_SECRET_KEY", STATE_DIR, default=None, cast=str) or secrets.token_hex(128 // 8)
     SECRET_KEY = _config_secrets("SECRET_KEY", STATE_DIR, default=None, cast=str) or secrets.token_hex(128 // 8)
-    WTF_CSRF_ENABLED = decouple.config("WTF_CSRF_ENABLED", default=True, cast=bool)
     DOWNLOADS_STORAGE_DIR = os.path.join(STATE_DIR, "downloads")
     FINISHED_STORAGE_DIR = os.path.join(STATE_DIR, "finished")
     UNFINISHED_STORAGE_DIR = os.path.join(STATE_DIR, "unfinished")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org