Преглед изворни кода

LDAP auth: define fallback value for _use_encryption

Peter Marschall пре 5 месеци
родитељ
комит
9b216a9f24
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      radicale/auth/ldap.py

+ 1 - 0
radicale/auth/ldap.py

@@ -67,6 +67,7 @@ class Auth(auth.BaseAuth):
     _ldap_group_filter: str
     _ldap_group_members_attr: str
     _ldap_module_version: int = 3
+    _use_encryption: bool = False
     _ldap_use_ssl: bool = False
     _ldap_security: str = "none"
     _ldap_ssl_verify_mode: int = ssl.CERT_REQUIRED