mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
Fix missing await
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user