Skip to content

Commit

Permalink
Releasing v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalioby committed May 30, 2021
1 parent 9587754 commit 7a154cf
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Change Log

## 2.2.0 (Not released)
* Added: MFA_REDIRECT_AFTER_REGISTRATION settings parameter
## 2.2.0
* Added: MFA_REDIRECT_AFTER_REGISTRATION settings parameter
* Fixed: Deprecation error for NULBooleanField

## 2.1.2
* Fixed: Getting timestamp on Python 3.7 as ("%s") is raising an exception
* Upgraded to FIDO 0.9.1


## 2.1.1
* Fixed: FIDO2 version in requirments.txt file.
* Fixed: FIDO2 version in requirements.txt file.

## 2.1.0
* Added Support for Touch ID for Mac OSx and iOS 14 on Safari
Expand Down
2 changes: 1 addition & 1 deletion mfa/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="2.2.0b1"
__version__="2.2.0"
18 changes: 18 additions & 0 deletions mfa/migrations/0011_auto_20210530_0622.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.2 on 2021-05-30 06:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('mfa', '0010_auto_20201110_0557'),
]

operations = [
migrations.AlterField(
model_name='user_keys',
name='owned_by_enterprise',
field=models.BooleanField(blank=True, default=None, null=True),
),
]
2 changes: 1 addition & 1 deletion mfa/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class User_Keys(models.Model):
enabled=models.BooleanField(default=True)
expires=models.DateTimeField(null=True,default=None,blank=True)
last_used=models.DateTimeField(null=True,default=None,blank=True)
owned_by_enterprise=models.NullBooleanField(default=None,null=True,blank=True)
owned_by_enterprise=models.BooleanField(default=None,null=True,blank=True)

def save(self, force_insert=False, force_update=False, using=None, update_fields=None):
if self.key_type == "Trusted Device" and self.properties.get("signature","") == "":
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='django-mfa2',
version='2.2.0b1',
version='2.2.0',
description='Allows user to add 2FA to their accounts',
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
Expand All @@ -31,12 +31,14 @@
include_package_data=True,
zip_safe=False, # because we're including static files
classifiers=[
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
Expand Down

0 comments on commit 7a154cf

Please sign in to comment.