webapp: disable please log in message locally

This commit is contained in:
informatic 2024-08-01 17:31:43 +02:00
parent 1d1b4b5541
commit 4d6164d866
No known key found for this signature in database

View file

@ -54,6 +54,9 @@ from webapp.authutils import AnonymousUser, User
auth.anonymous_user = AnonymousUser
# Disable "Please log in to access this page" message.
auth.login_message = None
@auth.user_loader
def load_user(username, profile=None):