Skip to content

feat: Implement per-IP rate limiting for MFA verification - #94

Merged
ashwin31 merged 1 commit into
masterfrom
dev
Aug 14, 2026
Merged

feat: Implement per-IP rate limiting for MFA verification#94
ashwin31 merged 1 commit into
masterfrom
dev

Conversation

@ashwin31

Copy link
Copy Markdown
Member
  • Added MFA_VERIFY_IP_RATE_LIMIT to limit failed second-factor attempts per client IP across all accounts.
  • Introduced RateLimitCounter model to store rate limit data in the database, defaulting to this backend.
  • Updated settings to include MFA_RATE_LIMIT_BACKEND and MFA_RATE_LIMIT_FAIL_OPEN for better control over rate limiting behavior.
  • Enhanced documentation to reflect new rate limiting features and their configurations.
  • Added tests to ensure proper functionality of the new rate limiting mechanism.
  • Updated version to 4.5.0 to reflect these changes.

- Added `MFA_VERIFY_IP_RATE_LIMIT` to limit failed second-factor attempts per client IP across all accounts.
- Introduced `RateLimitCounter` model to store rate limit data in the database, defaulting to this backend.
- Updated settings to include `MFA_RATE_LIMIT_BACKEND` and `MFA_RATE_LIMIT_FAIL_OPEN` for better control over rate limiting behavior.
- Enhanced documentation to reflect new rate limiting features and their configurations.
- Added tests to ensure proper functionality of the new rate limiting mechanism.
- Updated version to 4.5.0 to reflect these changes.
Copilot AI lite review requested due to automatic review settings August 14, 2026 05:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ashwin31
ashwin31 merged commit d285bed into master Aug 14, 2026
27 checks passed
@ashwin31
ashwin31 deleted the dev branch August 14, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants