1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 01:27:07 +00:00

Merge pull request #687 from cdemi/patch-1

This should fix #686
This commit is contained in:
morpheus65535 2019-12-03 19:40:06 -05:00 committed by GitHub
commit 92d71ba14a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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