diff --git a/GeoHealthCheck/app.py b/GeoHealthCheck/app.py index dc359df..a6c5a01 100644 --- a/GeoHealthCheck/app.py +++ b/GeoHealthCheck/app.py @@ -163,7 +163,7 @@ def load_user_from_request(request): authenticated = False try: username, password = base64.b64decode( - basic_auth_val.encode()).split(b':') + basic_auth_val).decode().split(':') user = User.query.filter_by(username=username).first() if user: