webapp: disable please log in message locally
This commit is contained in:
parent
1d1b4b5541
commit
4d6164d866
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue