- Change "Back to Profile" to "Back to Account Security"
- User can request that two-factor authentication be skipped the next time they log in on that particular device
- Django 3.1 support
- SMS message can now be customised by using a template
- Simplified
re_path()
topath()
in URLConf - Templates are now based on Bootstrap 4.
DisableView
now checks user has verified before disabling two-factor on their account- Inline CSS has been replaced to allow stricter Content Security Policies.
- Upper limit on django-otp dependency
- Obsolete IE<9 workarounds
- Workarounds for older versions of django-otp
No code changes for this version
- It is possible to set a timeout between a user authenticiating in the
LoginView
and them needing to re-authenticate. By default this is 10 minutes.
- The final step in the
LoginView
no longer re-validates a user's credentials. - Django 1.11 support.
- Security Fix:
LoginView
no longer stores credentials in plaintext in the session store.
Nothing has been added for this version
- MiddlewareMixin
- Python 3.4 support
- Django 2.1 support
mock
dependency
extra_requires
are now listed in lowercase. This is to workaround a bug inpip
.- Use
trimmed
option onblocktrans
to avoid garbage newlines in translations. random_hex
fromdjango_otp
0.8.0 will always return astr
, don't try to decode it.
- Support for Django 3.0.
- Optionally install full or light phonenumbers library.
- Python 2 support.
- Updated translations.
- 1.9.0 got pushed with incorrect changelog, no other changes.
- Support for Django 2.2.
- Ability to create
PhoneDevice
from Django admin. - Support for Python 3.7.
- Support for Django 2.1.
- Support for QRcode library up to 6.
- Translation: Romanian.
- Replace
ValidationError
withSuspiciousOperation
in views. - Change the wording in 2FA disable template.
- Updated translations.
- Support for Django 2.0.
- Django <1.11 support.
- Do not list phone method if it is not supported (#225).
- Pass request kwarg to authentication form (#227).
- Twilio client 6.0 usage (#211).
- Updated translation: Russian.
- Support Twilio client 6.0 (#203).
redirect_to
after successful login (#204)
- Updated translation: Norwegian Bokmål
- Support for Django 1.11 (#188).
- Django 1.9 support.
- Allow setting
LOGIN_REDIRECT_URL
to a URL (#192). DisableView
should also takesuccess_url
parameter (#187).
- Django 1.10’s MIDDLEWARE support.
- Allow
success_url
overrides fromurls.py
. - Autofocus token input during authentication.
- Translations: Polish, Italian, Hungarian, Finnish and Danish.
- Dropped Python 3.2 and 3.3 support.
- Renamed
redirect_url
properties tosuccess_url
to be consistent with Django.
- Allow Firefox users to enter backup tokens (#177).
- Allow multiple requests for QR code (#99).
- Don't add phone number without gateway (#92).
- Redirect to 2FA profile page after removing a phone (#159).