mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
fix: change error code for webapp auth
This commit is contained in:
@ -122,7 +122,7 @@ class UnsupportedFileTypeError(BaseHTTPException):
|
|||||||
|
|
||||||
|
|
||||||
class WebAppAuthRequiredError(BaseHTTPException):
|
class WebAppAuthRequiredError(BaseHTTPException):
|
||||||
error_code = "web_auth_required"
|
error_code = "web_sso_auth_required"
|
||||||
description = "Web app authentication required."
|
description = "Web app authentication required."
|
||||||
code = 401
|
code = 401
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user