mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-08 15:57:36 +08:00
This should fix morpheus65535/bazarr/issues/686
I have very little knowledge on Python but it looks like this solves the issue
This commit is contained in:
parent
2ecd21beb0
commit
b02252480a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue