Commit Graph

2 Commits (59d2a8a2087186b6a1af76cc76c824523303911a)

Author SHA1 Message Date
k-brahma-claude 9202c05d4c fix: MFA test failures and cleanup duplicate test files
- Fix password validation in all MFA tests (use TestPassword123 format)
- Fix database cleanup order to handle foreign key constraints
- Clean up duplicate unit test files (moved to integration tests)
- Fix frontend MFA page tests (modal mock and async handling)
- Update translation keys for consistency
- Minor dependency version updates

All tests now pass: API 730/730, Frontend MFA 9/9

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
11 months ago
k-brahma-claude 34ce28cb3d feat: implement multi-factor authentication (MFA) support
This PR adds comprehensive MFA support to Dify, including:
- Two-factor authentication using TOTP
- Backup codes for account recovery
- MFA management in user settings
- Enhanced security for user accounts

Continuation of PR #22206 with improved implementation and tests.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
11 months ago