You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: replace internal require2fa app with PyPI package
## Migration to PyPI Package
Successfully migrated from internal require2fa app to published
django-allauth-require2fa package (v1.2.0) from PyPI.
## Changes Made
- Add django-allauth-require2fa to pyproject.toml dependencies
- Keep require2fa in INSTALLED_APPS (package installs as require2fa module)
- Keep require2fa.middleware.Require2FAMiddleware path (same import)
- Verified existing TwoFactorConfig data is preserved and accessible
## Benefits
- ✅ Use community-maintained package instead of internal code
- ✅ Simplified maintenance and updates via PyPI
- ✅ Zero configuration changes needed (seamless transition)
- ✅ Existing 2FA settings preserved (required=True verified)
## Next Steps
The internal src/require2fa/ directory can now be safely removed
since the PyPI package provides identical functionality.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments