From c7490839352e3f6e605462f79cbac3c09673b56a Mon Sep 17 00:00:00 2001 From: Erik <35608570+weisser-dev@users.noreply.github.com> Date: Mon, 14 Apr 2025 08:12:37 +0200 Subject: [PATCH] Update auths.py --- backend/open_webui/routers/auths.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/routers/auths.py b/backend/open_webui/routers/auths.py index 83d7c4e19..e8f549619 100644 --- a/backend/open_webui/routers/auths.py +++ b/backend/open_webui/routers/auths.py @@ -237,6 +237,8 @@ async def ldap_auth(request: Request, response: Response, form_data: LdapForm): email = email.lower() elif isinstance(email, list): email = email[0].lower() + else: + email = str(email).lower() cn = str(entry["cn"]) user_dn = entry.entry_dn