mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #23103] [CLOSED] fix: license date comparison type error #42658
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/23103
Author: @yang1002378395-cmyk
Created: 3/26/2026
Status: ❌ Closed
Base:
main← Head:fix-license-date-comparison📝 Commits (1)
23a94e0fix: license date comparison type error📊 Changes
1 file changed (+11 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/auth.py(+11 -1)📄 Description
Summary
Root Cause
The
expfield from JSON is a string, but the code compared it directly withdatetime.now().date(), causing:Fix
Added proper type conversion for
expfield:Testing
l.datafile neededImpact
Users with
l.datalicense files cannot use v0.8.11. This fix restores license validation.🤖 Generated with OpenClaw AI
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.