[ 
https://issues.apache.org/jira/browse/AIRFLOW-6352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213894#comment-17213894
 ] 

ASF GitHub Bot commented on AIRFLOW-6352:
-----------------------------------------

renaldrozario commented on pull request #6912:
URL: https://github.com/apache/airflow/pull/6912#issuecomment-708387348


   This issue is still open with version 1.10.12.. can someone advise when this 
will be fixed?


----------------------------------------------------------------
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)

Reply via email to