Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix missing await
Carlos Monastyrskif48a7d313def
diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsxindex a23d3e8f9b..492e30ac85 100644--- a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx+++ b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx@@ -143,7 +143,7 @@ export const MFASection = () => {setTotpCode("");setShouldShowRecoveryCodes.off();if (totpConfiguration?.isVerified) {- deleteTotpConfiguration().catch(console.error);+ await deleteTotpConfiguration().catch(console.error);}} else if (field === "isMfaEnabled" && value && formData.selectedMfaMethod === MfaMethod.TOTP) {setShowMobileAuthSetup(true);