1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-02 16:58:30 +00:00

Cosmetics

This commit is contained in:
Guillaume Ayoub 2016-08-01 12:50:51 +02:00
parent 711ecf5df2
commit 6bfdcbafec
7 changed files with 8 additions and 7 deletions

View file

@ -159,7 +159,7 @@ class Auth(BaseAuth):
"""
hash_value = hash_value.replace(
"{SSHA}", "").encode("ascii").decode('base64')
"{SSHA}", "").encode("ascii").decode("base64")
password = password.encode(self.configuration.get("encoding", "stock"))
hash_value = hash_value[:20]
salt_value = hash_value[20:]