chg: [authentication] set session protection to kill session when session identifier does not match

pull/129/head
VVX7 2019-10-02 19:10:35 -04:00
parent 9c028e697f
commit bd5984faad
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ users_helper = users_helper.Users_helper(serv_redis_db, cfg)
trendings_helper = trendings_helper.Trendings_helper(serv_redis_db, cfg) trendings_helper = trendings_helper.Trendings_helper(serv_redis_db, cfg)
login_manager = LoginManager(app) login_manager = LoginManager(app)
login_manager.session_protection = "strong"
login_manager.init_app(app) login_manager.init_app(app)
########## ##########