Page MenuHomePhabricator

Record account recovery email links in the user activity log and make the mail message reference the log
ClosedPublic

Authored by epriestley on Jul 19 2019, 10:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 15, 8:54 AM
Unknown Object (File)
Thu, Mar 14, 5:37 PM
Unknown Object (File)
Wed, Mar 13, 7:01 AM
Unknown Object (File)
Feb 3 2024, 10:59 PM
Unknown Object (File)
Feb 2 2024, 2:19 PM
Unknown Object (File)
Jan 24 2024, 10:35 PM
Unknown Object (File)
Jan 11 2024, 12:06 PM
Unknown Object (File)
Jan 6 2024, 1:22 AM
Subscribers
None

Details

Summary

Depends on D20672. Ref T13343. When a user requests an account access link via email:

  • log it in the activity log; and
  • reference the log in the mail.

This makes it easier to ban users misusing the feature, provided they're coming from a single remote address, and takes a few steps down the pathway toward a button in the mail that users can click to report the action, suspend account recovery for their account, etc.

Test Plan
  • Requested an email recovery link.
  • Saw request appear in the user activity log.
  • Saw a reference to the log entry in the mail footer.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable