[
https://issues.apache.org/jira/browse/AIRFLOW-6352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214245#comment-17214245
]
ASF GitHub Bot commented on AIRFLOW-6352:
-----------------------------------------
mik-laj commented on pull request #6912:
URL: https://github.com/apache/airflow/pull/6912#issuecomment-708632840
@renaldrozario We are now focusing on the development of Airflow 2.0 and we
are limiting the new features that are released in Airflow 1.10. Airflow 2.0
will be released at the end of the year.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> security - ui - add timeout
> ---------------------------
>
> Key: AIRFLOW-6352
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6352
> Project: Apache Airflow
> Issue Type: Bug
> Components: security, ui
> Affects Versions: 1.10.3
> Reporter: t oo
> Assignee: t oo
> Priority: Major
> Fix For: 1.10.8
>
>
> www/app.py Add WebUI login timeout of 60 minutes
>
> Fix:
> import datetime
> import flask
> import flask_login
> at the end of
> def create_app(config=None, testing=False):
> @app.before_request
> def before_request():
> flask.session.permanent = True
> {color:#FF0000}app.permanent_session_lifetime =
> datetime.timedelta(minutes=60){color}
> flask.session.modified = True
> flask.g.user = flask_login.current_user
--
This message was sent by Atlassian Jira
(v8.3.4#803005)