mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-02 16:58:30 +00:00
Cosmetics
This commit is contained in:
parent
711ecf5df2
commit
6bfdcbafec
7 changed files with 8 additions and 7 deletions
|
@ -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:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue