diff --git a/pyproject.toml b/pyproject.toml
index b9f0c0e0c980f000055d23f9d5b7dad300ff3d15..420dcd2d2c6c516692dea2439d3d3ca656d5cfe7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -50,7 +50,7 @@ django-hattori = "^0.2"
 psycopg2 = "^2.8"
 django_select2 = "^7.1"
 requests = "^2.22"
-django-two-factor-auth = { version = "^1.9.1.post0", extras = [ "YubiKey", "phonenumbers", "Call", "SMS" ] }
+django-two-factor-auth = { git = "https://github.com/Bouke/django-two-factor-auth", rev = "bf9d0812ab11320a6cadc6709c382a03184f2e31", extras = [ "YubiKey", "phonenumbers", "Call", "SMS" ] }
 
 [tool.poetry.extras]
 ldap = ["django-auth-ldap"]