HomePhabricator

Add a rate limit to generating new account recovery links for a given account

Description

Add a rate limit to generating new account recovery links for a given account

Summary:
Depends on D20665. Ref T13343. We support CAPTCHAs on the "Forgot password?" flow, but not everyone configures them (or necessarily should, since ReCAPTCHA is a huge external dependency run by Google that requires you allow Google to execute JS on your domain) and the rate at which any reasonable user needs to take this action is very low.

Put a limit on the rate at which account recovery links may be generated for a particular account, so the worst case is a trickle of annoyance rather than a flood of nonsense.

Test Plan: {F6607794}

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13343

Differential Revision: https://secure.phabricator.com/D20666

Details

Provenance
epriestleyAuthored on Jul 19 2019, 4:38 PM
Parents
rPHABced416cc735a: Allow Auth messages to have detailed descriptions and default values, then give…
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline