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

@@ -43,7 +43,7 @@
else
{
alert("Your authenticator is added successfully.")
window.location.href="{% url 'mfa_home' %}"
window.location.href="{{ redirect_html }}"
}
}
})