From a577c80cc3276c27aa654d2e7d006aafad32da8c Mon Sep 17 00:00:00 2001 From: Mohamed El-Kalioby Date: Mon, 18 Jan 2021 19:31:23 +0300 Subject: [PATCH] Final touches --- mfa/__init__.py | 2 +- mfa/templates/FIDO2/Add.html | 4 ++-- mfa/templates/FIDO2/recheck.html | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mfa/__init__.py b/mfa/__init__.py index c5ce768..fa0705c 100644 --- a/mfa/__init__.py +++ b/mfa/__init__.py @@ -1 +1 @@ -__version__="2.0.5" +__version__="2.1.0b1" diff --git a/mfa/templates/FIDO2/Add.html b/mfa/templates/FIDO2/Add.html index d80c9e0..6ff10b9 100644 --- a/mfa/templates/FIDO2/Add.html +++ b/mfa/templates/FIDO2/Add.html @@ -45,7 +45,7 @@ ua=new UAParser().getResult() if (ua.browser.name == "Safari") { - $("#res").html("") + $("#res").html("") } else { @@ -66,7 +66,7 @@
-
+

Your browser should ask you to confirm you identity.

diff --git a/mfa/templates/FIDO2/recheck.html b/mfa/templates/FIDO2/recheck.html index 52568e2..3dc0609 100644 --- a/mfa/templates/FIDO2/recheck.html +++ b/mfa/templates/FIDO2/recheck.html @@ -104,7 +104,7 @@ $("#main_paragraph").addClass("alert alert-danger") $("#main_paragraph").html("FIDO2 must work under secure context") } else { - ua=UAParser().getResult() + ua=new UAParser().getResult() if (ua.browser.name == "Safari") $("#res").html("") else diff --git a/setup.py b/setup.py index bd6a7d4..fe3ceb3 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='django-mfa2', - version='2.0.5', + version='2.1.0b1', description='Allows user to add 2FA to their accounts', long_description=open("README.md").read(), long_description_content_type="text/markdown",