Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: hide useless error info in login page (#27245)

Joele1ca7a9bdb04
diff --git a/web/service/use-common.ts b/web/service/use-common.ts
index 57b9c8b165d..51b35c453b2 100644
--- a/web/service/use-common.ts
+++ b/web/service/use-common.ts
@@ -118,7 +118,7 @@ export const useIsLogin = () => {
gcTime: 0,
queryFn: async (): Promise<isLogin> => {
try {
- await get('/account/profile', {
+ await get('/account/profile', {}, {
silent: true,
})
}