Skip to content

Commit 912d6d1

Browse files
committed
Remove the ability to configure CSRF protection
1 parent e5a2769 commit 912d6d1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

atr/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ class AppConfig:
6565
USE_BLOCKBUSTER = False
6666
JWT_SECRET_KEY = _config_secrets("JWT_SECRET_KEY", STATE_DIR, default=None, cast=str) or secrets.token_hex(128 // 8)
6767
SECRET_KEY = _config_secrets("SECRET_KEY", STATE_DIR, default=None, cast=str) or secrets.token_hex(128 // 8)
68-
WTF_CSRF_ENABLED = decouple.config("WTF_CSRF_ENABLED", default=True, cast=bool)
6968
DOWNLOADS_STORAGE_DIR = os.path.join(STATE_DIR, "downloads")
7069
FINISHED_STORAGE_DIR = os.path.join(STATE_DIR, "finished")
7170
UNFINISHED_STORAGE_DIR = os.path.join(STATE_DIR, "unfinished")

0 commit comments

Comments
 (0)