mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Support UTF-8 passwords with old enc:
This commit is contained in:
parent
a5afece2d7
commit
5f011ed3e4
@ -151,6 +151,6 @@ class UserManager:
|
||||
return password
|
||||
|
||||
try:
|
||||
return binascii.unhexlify(password[4:])
|
||||
return binascii.unhexlify(password[4:]).decode('utf-8')
|
||||
except:
|
||||
return password
|
||||
|
Loading…
Reference in New Issue
Block a user