mirror of https://github.com/langgenius/dify.git
fix: change error code for webapp auth
This commit is contained in:
parent
4785c061a9
commit
7a4ec9cf23
|
@ -122,7 +122,7 @@ class UnsupportedFileTypeError(BaseHTTPException):
|
|||
|
||||
|
||||
class WebAppAuthRequiredError(BaseHTTPException):
|
||||
error_code = "web_auth_required"
|
||||
error_code = "web_sso_auth_required"
|
||||
description = "Web app authentication required."
|
||||
code = 401
|
||||
|
||||
|
|
Loading…
Reference in New Issue