Skip to content

Commit

Permalink
Login tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
matejak committed Jun 5, 2024
1 parent f6c97f9 commit 97e8c0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions estimage/webapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def create_app_common(app):
LOGIN.init_app(app)
LOGIN.user_loader(users.load_user)
LOGIN.login_view = "login.auto_login"
# Don't display the "log in to proceed" message, as it is often more confusing than helpful
# in connection with random logouts and autologins
LOGIN.login_message = ""

CACHE.init_app(app, config=app.config)

Expand Down

0 comments on commit 97e8c0e

Please sign in to comment.