mirror of
https://github.com/langgenius/dify.git
synced 2026-03-26 00:38:03 +08:00
fix: change error code for webapp auth
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user