diff --git a/pyproject.toml b/pyproject.toml
index 2caa43c42f7fd32854f38789b74012769382dc0e..8e8a58ec0b48950cf8ca832521ea2f4f006b77bf 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -70,7 +70,7 @@ django-ipware = "^4.0"
 django-impersonate = "^1.4"
 psycopg2 = "^2.8"
 django_select2 = "^8.0"
-django-two-factor-auth = { version = "^1.15.1", extras = [ "yubikey", "phonenumbers", "call", "sms", "webauthn" ] }
+django-two-factor-auth = { git = "https://github.com/jazzband/django-two-factor-auth", branch="master", extras = [ "yubikey", "phonenumbers", "call", "sms", "webauthn" ] }
 django-yarnpkg = "^6.0"
 django-material = "^1.6.0"
 django-dynamic-preferences = "^1.11"