fix logging crash, fixes #424

This commit is contained in:
Thomas Waldmann 2019-04-09 22:20:22 +02:00
parent 00ca1a236c
commit a1c090eeb7

View File

@ -134,7 +134,8 @@ def basic_authenticate(auth):
return username, password
def check_api_auth(username, password):
@log.logger(__name__)
def check_api_auth(username, password, logger=None):
"""
Check username and password against our database.