From a1f3300767898df33c6ebcb002b7ba6060353994 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 3 Apr 2025 10:01:03 -0700 Subject: [PATCH] fix: tls cert requirement --- backend/open_webui/routers/auths.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/open_webui/routers/auths.py b/backend/open_webui/routers/auths.py index 34a63ba3f..07804f9ea 100644 --- a/backend/open_webui/routers/auths.py +++ b/backend/open_webui/routers/auths.py @@ -764,11 +764,6 @@ async def update_ldap_server( if not value: raise HTTPException(400, detail=f"Required field {key} is empty") - if form_data.use_tls and not form_data.certificate_path: - raise HTTPException( - 400, detail="TLS is enabled but certificate file path is missing" - ) - request.app.state.config.LDAP_SERVER_LABEL = form_data.label request.app.state.config.LDAP_SERVER_HOST = form_data.host request.app.state.config.LDAP_SERVER_PORT = form_data.port