1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-04 11:51:02 +01:00
phorge-phorge/src/applications/auth
epriestley 6f6ca0102d Send forced mail on SSH key edits
Summary:
Ref T10917. This cheats fairly heavily to generate SSH key mail:

  - Generate normal transaction mail.
  - Force it to go to the user.
  - Use `setForceDelivery()` to force it to actually be delivered.
  - Add some warning language to the mail body.

This doesn't move us much closer to Glorious Infrastructure for this whole class of events, but should do what it needs to for now and doesn't really require anything sketchy.

Test Plan: Created and edited SSH keys, got security notice mail.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10917

Differential Revision: https://secure.phabricator.com/D15948
2016-05-19 15:01:25 -07:00
..
action Rate limit multi-factor actions 2014-04-30 14:30:31 -07:00
application Add ViewController and SearchEngine for SSH Public Keys 2016-05-19 09:48:46 -07:00
capability Auth - add "manage providers" capability 2015-01-12 14:37:58 -08:00
conduit Deactivate SSH keys instead of destroying them completely 2016-05-18 14:54:28 -07:00
constants Support invites in the registration and login flow 2015-02-11 06:06:28 -08:00
controller Send forced mail on SSH key edits 2016-05-19 15:01:25 -07:00
data Convert all calls to 'IconFont' to just 'Icon' 2016-01-27 20:59:27 -08:00
editor Send forced mail on SSH key edits 2016-05-19 15:01:25 -07:00
engine Add a session engine extension point 2016-04-05 15:19:47 -07:00
exception Add email invites to Phabricator (logic only) 2015-02-09 16:12:36 -08:00
extension Begin modularizing main menu items 2016-01-04 06:57:09 -08:00
factor Formally modularize MFA/TOTP tokens, provide a module panel for temporary tokens 2016-03-16 09:33:58 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
handler Modularize generation of supplemental login messages 2015-09-04 10:34:39 -07:00
mail Send forced mail on SSH key edits 2016-05-19 15:01:25 -07:00
management Various translation improvements 2015-11-03 07:02:46 +11:00
phid Add ViewController and SearchEngine for SSH Public Keys 2016-05-19 09:48:46 -07:00
provider Add a session engine extension point 2016-04-05 15:19:47 -07:00
query Use transactions to apply web UI SSH key edits 2016-05-19 15:00:18 -07:00
sshkey Send forced mail on SSH key edits 2016-05-19 15:01:25 -07:00
storage Send forced mail on SSH key edits 2016-05-19 15:01:25 -07:00
tokentype Formally modularize MFA/TOTP tokens, provide a module panel for temporary tokens 2016-03-16 09:33:58 -07:00
view Add ViewController and SearchEngine for SSH Public Keys 2016-05-19 09:48:46 -07:00
worker Send emails for email invites 2015-02-11 06:06:09 -08:00