Final touches

This commit is contained in:
Mohamed El-Kalioby
2021-01-18 19:31:23 +03:00
parent 66cf103bca
commit a577c80cc3
4 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
__version__="2.0.5"
__version__="2.1.0b1"

View File

@@ -45,7 +45,7 @@
ua=new UAParser().getResult()
if (ua.browser.name == "Safari")
{
$("#res").html("<button class='btn btn-primary' onclick='begin_reg()'>Start...</button>")
$("#res").html("<button class='btn btn-success' onclick='begin_reg()'>Start...</button>")
}
else
{
@@ -66,7 +66,7 @@
<div class="panel-body">
<div class="row alert alert-pr" id="res">
<div class="row alert alert-pr" id="res" align="center">
<p style="color: green">Your browser should ask you to confirm you identity.</p>
</div>

View File

@@ -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("<button class='btn btn-success' onclick='authen()'>Authenticate...</button>")
else

View File

@@ -4,7 +4,7 @@ from setuptools import find_packages, setup
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",