Is there an easy way to make sessions timeout in flask?
I’m building a website with flask where users have accounts and are able to login.
I’m using flask-principal for the loging in part and the role management.
Is there a way of making the user’s session expire after say 5 minutes or 10 minutes?
I was not able to find that in flask documentation or, flask-principal’s documentation.