mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
Update api/services/feature_service.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
41af72449d
commit
3d77a5ec08
@ -382,7 +382,7 @@ class FeatureService:
|
||||
# SECURITY NOTE: Only license *status* is exposed to unauthenticated callers
|
||||
# so the login page can detect an expired/inactive license after force-logout.
|
||||
# All other license details (expiry date, workspace usage) remain auth-gated.
|
||||
# See CVE-2025-63387 for prior information-leakage context.
|
||||
# This behavior reflects prior internal review of information-leakage risks.
|
||||
if license_info := enterprise_info.get("License"):
|
||||
features.license.status = LicenseStatus(license_info.get("status", LicenseStatus.INACTIVE))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user