You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/10/08 16:51:32 UTC
[GitHub] rpwils opened a new issue #3623: Add Session Timeout
rpwils opened a new issue #3623: Add Session Timeout
URL: https://github.com/apache/incubator-superset/issues/3623
Make sure these boxes are checked before submitting your issue - thank you!
- [X] I have checked the superset logs for python stacktraces and included it here as text if any
- [X] I have reproduced the issue with at least the latest released version of superset
- [X] I have checked the issue tracker for the same issue and I haven't found one similar
### Superset version - 19.1
Would like to have the ability to set the user session timeout in the the config. Would adding something like this to the __Init__.py file to an acceptable way? Maybe this can be added to the project.
from datetime import timedelta
@app.before_request
def make_session_permanent():
appbuilder.get_session.permanent = True
app.permanent_session_lifetime = timedelta(minutes=USER_SESSION_TIMEOUT)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services