two factor authentication (using django-mfa3)

Bengfort requested to merge mfa3 into main

This is an alternative to !1925 (closed). In my free time I worked on a library that is inspired by django-mfa2, but fixes some of its issues. I called it django-mfa3.

The last commit (server-side QR-codes) depends on yet unreleased changes in django-mfa3.

Still missing:

  • UI improvements
  • require login with a second factor for everyone can now be enabled by adding 'mfa.middleware.MFAEnforceMiddleware' to MIDDLEWARE.
Edited by Bengfort

Merge request reports