Skip to content

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

Fix change password button active state on no errors

Tuan Dang8ce48fea4302
diff --git a/frontend/src/pages/settings/personal/[id].tsx b/frontend/src/pages/settings/personal/[id].tsx
index dabd908631..347e531d11 100644
--- a/frontend/src/pages/settings/personal/[id].tsx
+++ b/frontend/src/pages/settings/personal/[id].tsx
@@ -226,6 +226,7 @@ export default function PersonalSettings() {
);
}
}}
+ active={Object.keys(errors).length === 0 && currentPassword !== ''}
color="mineshaft"
size="md"
textDisabled={t('section.password.change') as string}