This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 543e9a592e Update CSRF token to expire with session (#28730)
543e9a592e is described below
commit 543e9a592e6b9dc81467c55169725e192fe95e89
Author: Max Ho <[email protected]>
AuthorDate: Wed Jan 11 07:25:29 2023 +0800
Update CSRF token to expire with session (#28730)
---
airflow/config_templates/default_webserver_config.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/airflow/config_templates/default_webserver_config.py
b/airflow/config_templates/default_webserver_config.py
index ac999a0dea..aa22b125fa 100644
--- a/airflow/config_templates/default_webserver_config.py
+++ b/airflow/config_templates/default_webserver_config.py
@@ -32,6 +32,7 @@ basedir = os.path.abspath(os.path.dirname(__file__))
# Flask-WTF flag for CSRF
WTF_CSRF_ENABLED = True
+WTF_CSRF_TIME_LIMIT = None
# ----------------------------------------------------
# AUTHENTICATION CONFIG