Skip to content

Document rate limiting for auth, passkeys, and form submissions#1889

Merged
duncanmcclean merged 1 commit into6.xfrom
document-pr-14475
Apr 27, 2026
Merged

Document rate limiting for auth, passkeys, and form submissions#1889
duncanmcclean merged 1 commit into6.xfrom
document-pr-14475

Conversation

@jasonvarga
Copy link
Copy Markdown
Member

Summary

Documents the named rate limiters added to Statamic 6.x in statamic/cms#14475.

  • Adds a "Rate limiting" section to users.md covering the statamic.auth, statamic.cp.auth, statamic.passkeys, and statamic.cp.passkeys limiters, with defaults, route coverage, and an override example via RateLimiter::for() in AppServiceProvider. Explains that the CP limiters inherit from the front-end ones unless separately defined.
  • Adds a "Rate limiting" section to forms.md covering the statamic.forms limiter (10/min default) and how to override it.

Notes

  • [6.x] Improve rate limiting cms#14475 is still open as of writing — the limiter names and defaults may change before it's merged, so these docs may need a follow-up pass before publishing.
  • The CMS PR's description mentions auth_middleware / forms_middleware config keys, but the actual implementation uses named Laravel rate limiters. This PR documents what the code actually does.

Test plan

  • Confirm limiter names and defaults match what ships in 6.x once [6.x] Improve rate limiting cms#14475 is merged
  • Render both pages locally and verify the new sections appear where expected

@duncanmcclean duncanmcclean merged commit 4067ca7 into 6.x Apr 27, 2026
@duncanmcclean duncanmcclean deleted the document-pr-14475 branch April 27, 2026 14:25
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