1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-10 18:40:53 +00:00

Fix syntax

This commit is contained in:
Dipl. Ing. Péter Varkoly 2024-09-23 15:49:58 +02:00
parent b1c682de57
commit e887b06d21
2 changed files with 2 additions and 4 deletions

View file

@ -25,7 +25,7 @@ Following parameters are needed in the configuration:
Following parameters controls SSL connections:
ldap_use_ssl If the connection
ldap_ssl_verify_mode The certifikat verification mode. NONE, OPTIONAL, default is REQUIRED
ldap_ssl_ca_file
ldap_ssl_ca_file
"""
import ssl
@ -42,12 +42,10 @@ class Auth(auth.BaseAuth):
_ldap_filter: str
_ldap_load_groups: bool
_ldap_version: int = 3
#SSL stuff
_ldap_use_ssl: bool = False
_ldap_ssl_verify_mode: int = ssl.CERT_REQUIRED
_ldap_ssl_ca_file: str = ""
def __init__(self, configuration: config.Configuration) -> None:
super().__init__(configuration)
try: