mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 21:25:52 +08:00
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):
|
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user