diff --git a/mfa/templates/MFA.html b/mfa/templates/MFA.html
index 996d3ee..4940ad8 100644
--- a/mfa/templates/MFA.html
+++ b/mfa/templates/MFA.html
@@ -19,7 +19,6 @@
$("#modal-body").html("Are you sure you want to delete '"+name+"'? you may lose access to your system if this your only 2FA.");
$("#actionBtn").remove()
$("#modal-footer").prepend("")
- $("#popUpModal").modal()
$("#popUpModal").modal('show')
}
diff --git a/mfa/templates/TrustedDevices/start.html b/mfa/templates/TrustedDevices/start.html
index ab45dc6..dd208b3 100644
--- a/mfa/templates/TrustedDevices/start.html
+++ b/mfa/templates/TrustedDevices/start.html
@@ -15,7 +15,6 @@
function sendEmail() {
$("#modal-title").html("Send Link")
$("#modal-body").html("Sending Email, Please wait....");
- $("#popUpModal").modal();
$("#popUpModal").modal('show');
$.ajax({
"url":"{% url 'td_sendemail' %}",
@@ -61,8 +60,7 @@
$("#actionBtn").remove();
$("#modal-footer").prepend("")
$("#modal-body").html(data)
- $("#popUpModal").modal()
- $("#popUpModal").modal('show')
+ $("#popUpModal").modal('show');
}
}
})
diff --git a/mfa/templates/mfa_check.html b/mfa/templates/mfa_check.html
index 3922fdf..47f550b 100644
--- a/mfa/templates/mfa_check.html
+++ b/mfa/templates/mfa_check.html
@@ -24,7 +24,6 @@
{
$("#modal-title").html("Recheck Indentity")
$("#modal-body").html(data["html"])
- $("#popUpModal").modal()
$("#popUpModal").modal('show')
}