mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #12819] [MERGED] fix: Properly handle ldap3.abstract.attribute.Attribute value #23027
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/12819
Author: @athoik
Created: 4/13/2025
Status: ✅ Merged
Merged: 4/13/2025
Merged by: @tjbck
Base:
dev← Head:dev📝 Commits (1)
c70fedbProperly handle ldap3.abstract.attribute.Attribute value📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/open_webui/routers/auths.py(+1 -1)📄 Description
This commit fixes an issue created on commit
2e7a01f30a.Ldap object is type <class 'ldap3.abstract.attribute.Attribute'>. So we need to return the value and verify if it's null, string or list.
Fixes #12813
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This commit fixes an issue created on commit
2e7a01f30a.Ldap object is type <class 'ldap3.abstract.attribute.Attribute'>. So we need to return the value and verify if it's null, string or list.
Added
Changed
Deprecated
Removed
Fixed
Fixes #12813
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.