mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix missing await
This commit is contained in:
@@ -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