HomePhabricator

Allow installs to customize mail body guidance in the "Email Login" and "Set…

Description

Allow installs to customize mail body guidance in the "Email Login" and "Set Password" emails

Summary:
Depends on D20662. Ref T13343. Installs may reasonably want to change the guidance users receive in "Email Login"/"Forgot Password" email.

(In an upcoming change I plan to supply a piece of default guidance, but Auth Messages need a few tweaks for this.)

There's probably little reason to provide guidance on the "Set Password" flow, but any guidance one might issue on the "Email Login" flow probably doesn't make sense on the "Set Password" flow, so I've included it mostly to make it clear that this is a different flow from a user perspective.

Test Plan:

  • Set custom "Email Login" and "Set Password" messages.
  • Generated "Email Login" mail by using the "Login via email" link on the login screen.
  • Generated "Set Password" email by trying to set a password on an account with no password yet.
  • Saw my custom messages in the resulting mail bodies.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13343

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

Details

Provenance
epriestleyAuthored on Jul 19 2019, 2:33 PM
Parents
rPHAB5dd489500155: Move "Password Reset" email to "PeopleMailEngine"
Branches
Unknown
Tags
Unknown
ChangeId
None

Event Timeline