From b02252480abac1006f5a4494ddbaf89d005a7bca Mon Sep 17 00:00:00 2001 From: Christopher Demicoli Date: Wed, 4 Dec 2019 00:45:06 +0100 Subject: [PATCH] This should fix morpheus65535/bazarr/issues/686 I have very little knowledge on Python but it looks like this solves the issue --- bazarr/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/main.py b/bazarr/main.py index 48e2c6a1a..a448a5e52 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -136,7 +136,7 @@ def custom_auth_basic(check): def check_credentials(user, pw): username = settings.auth.username password = settings.auth.password - if hashlib.md5(pw).hexdigest() == password and user == username: + if hashlib.md5(pw.encode('utf-8')).hexdigest() == password and user == username: return True return False