mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-23 17:48:30 +00:00
fix for incomplete https://github.com/Kozea/Radicale/pull/1425 and test
This commit is contained in:
parent
caefa489f9
commit
36285143ce
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