mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #21742] [MERGED] fix(ui): allow empty LDAP Application DN value and password in General setting… #97294
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/21742
Author: @j-frei
Created: 2/22/2026
Status: ✅ Merged
Merged: 2/22/2026
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (2)
35135b2Allow empty LDAP Application DN value and password in General settings forme1fa42dfix(ui): use LDAP app_dn, app_dn_password with empty string instead of enforcing non-empty values📊 Changes
2 files changed (+3 additions, -5 deletions)
View changed files
📝
backend/open_webui/routers/auths.py(+2 -4)📝
src/lib/components/admin/Settings/General.svelte(+1 -1)📄 Description
Pull Request: Allow empty LDAP Application DN and password in General settings form
Description
This pull request allows the LDAP Application DN and its password fields in the General settings form to accept empty strings. Previously, the DN field was required, which prevented saving the form with an empty value. The password input now explicitly sets
required={false}to allow empty passwords when needed.Changelog Entry
Fixed
requiredfrom the Application DN input field.required={false}onSensitiveInputfor the password field to permit empty input.Added
Changed
Deprecated
Removed
Security
Breaking Changes
Additional Information
Screenshots or Videos
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.