Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By default, the Flask session only survives until the user closes the browser [1], which is annoying. With this, the session will survive for 31 days; as far as I can tell, that expiration time is refreshed each time the user visits the tool, so in practice it can last much longer as long as the user uses the tool regularly. For symmetry, reset the flag after logout. [1]: https://flask.palletsprojects.com/en/2.3.x/api/#flask.session.permanent
- Loading branch information