aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/views/session_mgmt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web/views/session_mgmt.py b/src/web/views/session_mgmt.py
index febb3f13..d2371305 100644
--- a/src/web/views/session_mgmt.py
+++ b/src/web/views/session_mgmt.py
@@ -25,6 +25,8 @@ Principal(current_app)
login_manager = LoginManager()
login_manager.init_app(current_app)
login_manager.login_view = 'login'
+login_manager.login_message = gettext("Please log in to access this page.")
+login_manager.login_message_category = "info"
logger = logging.getLogger(__name__)
bgstack15