mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Update login manager session protection to "strong" in web UI
This commit is contained in:
parent
d560b6bb37
commit
2153af6a37
1 changed files with 1 additions and 0 deletions
|
|
@ -109,6 +109,7 @@ if not FLASK_SECRET:
|
|||
app.config["SECRET_KEY"] = FLASK_SECRET
|
||||
|
||||
login_manager = LoginManager()
|
||||
login_manager.session_protection = "strong"
|
||||
login_manager.init_app(app)
|
||||
login_manager.login_view = "login"
|
||||
login_manager.anonymous_user = AnonymousUser
|
||||
|
|
|
|||
Loading…
Reference in a new issue