mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-23 01:16:18 +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
|
return password
|
||||||
|
|
||||||
try:
|
try:
|
||||||
return binascii.unhexlify(password[4:])
|
return binascii.unhexlify(password[4:]).decode('utf-8')
|
||||||
except:
|
except:
|
||||||
return password
|
return password
|
||||||
|
Loading…
Reference in New Issue
Block a user