Setting a new password with a reset link and confirming an e-mail change are rate limited like Forgot password #288
No reviewers
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lantea-one/ninlil!288
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/285-token-endpoint-rate-limit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
POST /api/auth/reset-passwordandPOST /api/auth/confirm-email-changenow use the existingpassword-resetrate-limit policy, the one Forgot password already uses. Over the limit they answer 429 withRetry-After.AdminLoginRateLimitOptionsto 5 requests per 5 minutes by default. It counts separately from sign-in, so finishing a reset does not use up sign-in attempts.Program.cscomment updated.Tests:
AnonymousTokenEndpointRateLimitTests(2, on a second host with the limiter on and a limit of 2): the third request answers 429 withRetry-After. The shared host keeps the limiter off, so other tests cannot hit it.Ninlil.Web.Tests2065, twice.Closes #285
🤖 Generated with Claude Code
https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK