feat: Implement TOTP-based Two-Factor Authentication
- Add django-otp and qrcode dependencies - Create comprehensive 2FA views and templates in German - Add 2FA setup, verification, and management interfaces - Implement backup token system with 10 recovery codes - Add TwoFactorMiddleware for session enforcement - Integrate 2FA controls into user navigation menu - Support QR code generation for authenticator apps - Add forms for secure 2FA operations with validation - Configure OTP settings and admin site integration Features: - Optional 2FA (users can enable/disable) - TOTP compatible with Google Authenticator, Authy, etc. - Backup codes for emergency access - German language interface - Session-based 2FA enforcement - Password confirmation for sensitive operations - Production-ready with HTTPS support
This commit is contained in:
@@ -9,3 +9,5 @@ requests==2.32.3
|
||||
gunicorn==22.0.0
|
||||
python-dateutil==2.9.0
|
||||
markdown==3.6
|
||||
django-otp==1.2.4
|
||||
qrcode[pil]==7.4.2
|
||||
|
||||
Reference in New Issue
Block a user