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.

Fix: password check in page of install (#3978)

KVOJJJin2fd702a31917
diff --git a/web/app/install/installForm.tsx b/web/app/install/installForm.tsx
index 284062d26fa..631812613ed 100644
--- a/web/app/install/installForm.tsx
+++ b/web/app/install/installForm.tsx
@@ -48,8 +48,10 @@ const InstallForm = () => {
showErrorMessage(t('login.error.passwordEmpty'))
return false
}
- if (!validPassword.test(password))
+ if (!validPassword.test(password)) {
showErrorMessage(t('login.error.passwordInvalid'))
+ return false
+ }
return true
}