Allowing setting the redirect url and text

This commit is contained in:
Mohamed El-Kalioby
2021-05-28 16:38:27 +03:00
parent ef8287666c
commit 958775418d
20 changed files with 70 additions and 35 deletions

View File

@@ -24,7 +24,7 @@
if (data == "OK")
{
alert("Your device is added successfully.")
window.location.href="{% url 'mfa_home' %}"
window.location.href="{{ redirect_html }}"
}
}
})