Commit b4165335 authored by jvoisin's avatar jvoisin

Use strong sessions protection

See https://flask-login.readthedocs.io/en/latest/#session-protection for
details
parent 189243a9
......@@ -60,6 +60,7 @@ app = Flask(__name__)
lm = LoginManager()
lm.login_view = 'web.login'
lm.anonymous_user = ub.Anonymous
lm.session_protection = 'strong'
ub.init_db(cli.settingspath)
# pylint: disable=no-member
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment