mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-24 01:11:15 -04:00
Switched off session protection
Many departments are reporting being logged out during usage of the app This may be because they present differing IP addresses to Notify on different requests due to outbound proxies and so on Swicthing session protection to None means and IP change won't log a user out.
This commit is contained in:
@@ -99,6 +99,7 @@ def create_app():
|
||||
login_manager.init_app(application)
|
||||
login_manager.login_view = 'main.sign_in'
|
||||
login_manager.login_message_category = 'default'
|
||||
login_manager.session_protection = None
|
||||
|
||||
from app.main import main as main_blueprint
|
||||
application.register_blueprint(main_blueprint)
|
||||
|
||||
Reference in New Issue
Block a user