You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/01/10 23:25:36 UTC

[airflow] branch main updated: Update CSRF token to expire with session (#28730)

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 <ma...@gmail.com>
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