From f48a7d313defda2159ad63a075d7d3e4cd3eab65 Mon Sep 17 00:00:00 2001 From: Carlos Monastyrski Date: Fri, 26 Sep 2025 14:40:43 -0300 Subject: [PATCH] Fix missing await --- .../components/SecuritySection/MFASection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx b/frontend/src/pages/user/PersonalSettingsPage/components/SecuritySection/MFASection.tsx index a23d3e8f9..492e30ac8 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);