Merge pull request 'webapp: disable please log in message locally' (#2) from remove-please-log-in into master

Reviewed-on: #2
This commit is contained in:
radex 2024-08-22 17:00:48 +00:00
commit eeb36ba112

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):