Skip to content

Commit

Permalink
Final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalioby committed Jan 18, 2021
1 parent 66cf103 commit a577c80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mfa/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="2.0.5"
__version__="2.1.0b1"
4 changes: 2 additions & 2 deletions mfa/templates/FIDO2/Add.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion mfa/templates/FIDO2/recheck.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a577c80

Please sign in to comment.