mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-30 21:12:05 +00:00
fix for incomplete https://github.com/Kozea/Radicale/pull/1425 and test
This commit is contained in:
parent
17e6269400
commit
9c9be73093
2 changed files with 10 additions and 0 deletions
|
@ -74,6 +74,10 @@ class Auth(auth.BaseAuth):
|
|||
self._verify = self._plain
|
||||
elif encryption == "md5":
|
||||
self._verify = self._md5apr1
|
||||
elif encryption == "sha256":
|
||||
self._verify = self._sha256
|
||||
elif encryption == "sha512":
|
||||
self._verify = self._sha512
|
||||
elif encryption == "bcrypt" or encryption == "autodetect":
|
||||
try:
|
||||
import bcrypt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue