Skip to content

feat(auth): add login brute-force protection (#2723) - #23

Merged
sakitam-fdd merged 3 commits into
mainfrom
upstream-recheck-2723-20260821
Aug 21, 2026
Merged

feat(auth): add login brute-force protection (#2723)#23
sakitam-fdd merged 3 commits into
mainfrom
upstream-recheck-2723-20260821

Conversation

@sakitam-fdd

Copy link
Copy Markdown
Owner

Scope

Port Tencent#2723 onto current main.

  • Rate-limits password login by client IP.
  • Defaults to 10 attempts per 10-minute window.
  • Uses Redis when available with in-memory fallback.
  • Returns 429 + Retry-After and adds frontend countdown/disable behavior.
  • Adds config/tests/docs for the login protection.

Upstream currently reports a stale-branch conflict, but GitHub's three-way merge against the fork's current main is clean. Effective diff remains the expected 14 auth/config/UI/test files.

@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3a10e20d-ff45-40c1-97fc-a82247bd2e9e


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sakitam-fdd
sakitam-fdd marked this pull request as ready for review August 21, 2026 08:13
@sakitam-fdd
sakitam-fdd merged commit 2cef9a6 into main Aug 21, 2026
1 check passed
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