Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Change order of password check

Tuan Dang2ba6a65da492
diff --git a/frontend/src/components/signup/UserInfoStep.tsx b/frontend/src/components/signup/UserInfoStep.tsx
index c09e43fcb6..0e2b02f87e 100644
--- a/frontend/src/components/signup/UserInfoStep.tsx
+++ b/frontend/src/components/signup/UserInfoStep.tsx
@@ -269,11 +269,11 @@ export default function UserInfoStep({
<InputField
label={t("section.password.password")}
onChangeHandler={async (pass: string) => {
+ setPassword(pass);
await checkPassword({
password: pass,
setErrors
});
- setPassword(pass);
}}
type="password"
value={password}