mirror of
https://github.com/langgenius/dify.git
synced 2026-06-24 13:01:16 +08:00
fix: fix logic (#37812)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
d1a3f31f15
commit
be3677f145
@ -185,8 +185,8 @@ class EnterpriseRequest(BaseRequest):
|
||||
|
||||
if (
|
||||
not cls.rbac_base_url.startswith("http")
|
||||
or not cls.rbac_base_url.startswith("https")
|
||||
or not cls.rbac_base_url
|
||||
and not cls.rbac_base_url.startswith("https")
|
||||
and not cls.rbac_base_url
|
||||
):
|
||||
raise ValueError("ENTERPRISE_RBAC_API_URL is required when RBAC_ENABLED=true")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user