mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
refac
This commit is contained in:
parent
fd8cdb383c
commit
9123c57c8a
1 changed files with 2 additions and 3 deletions
|
|
@ -55,9 +55,8 @@ from typing import Optional, List
|
||||||
|
|
||||||
from ssl import CERT_NONE, CERT_REQUIRED, PROTOCOL_TLS
|
from ssl import CERT_NONE, CERT_REQUIRED, PROTOCOL_TLS
|
||||||
|
|
||||||
if ENABLE_LDAP.value:
|
from ldap3 import Server, Connection, NONE, Tls
|
||||||
from ldap3 import Server, Connection, NONE, Tls
|
from ldap3.utils.conv import escape_filter_chars
|
||||||
from ldap3.utils.conv import escape_filter_chars
|
|
||||||
|
|
||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue