diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 4ceddd855a..752605dd96 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -1175,6 +1175,7 @@ phutil_register_library_map(array( 'PhabricatorSearchScope' => 'applications/search/constants/PhabricatorSearchScope.php', 'PhabricatorSearchSelectController' => 'applications/search/controller/PhabricatorSearchSelectController.php', 'PhabricatorSecurityConfigOptions' => 'applications/config/option/PhabricatorSecurityConfigOptions.php', + 'PhabricatorSendGridConfigOptions' => 'applications/config/option/PhabricatorSendGridConfigOptions.php', 'PhabricatorSettingsAdjustController' => 'applications/settings/controller/PhabricatorSettingsAdjustController.php', 'PhabricatorSettingsMainController' => 'applications/settings/controller/PhabricatorSettingsMainController.php', 'PhabricatorSettingsPanel' => 'applications/settings/panel/PhabricatorSettingsPanel.php', @@ -2514,6 +2515,7 @@ phutil_register_library_map(array( 'PhabricatorSearchResultView' => 'AphrontView', 'PhabricatorSearchSelectController' => 'PhabricatorSearchBaseController', 'PhabricatorSecurityConfigOptions' => 'PhabricatorApplicationConfigOptions', + 'PhabricatorSendGridConfigOptions' => 'PhabricatorApplicationConfigOptions', 'PhabricatorSettingsAdjustController' => 'PhabricatorController', 'PhabricatorSettingsMainController' => 'PhabricatorController', 'PhabricatorSettingsPanelAccount' => 'PhabricatorSettingsPanel', diff --git a/src/applications/config/option/PhabricatorSendGridConfigOptions.php b/src/applications/config/option/PhabricatorSendGridConfigOptions.php new file mode 100644 index 0000000000..33bf53bb23 --- /dev/null +++ b/src/applications/config/option/PhabricatorSendGridConfigOptions.php @@ -0,0 +1,24 @@ +newOption('sendgrid.api-user', 'string', null) + ->setDescription(pht('SendGrid API username.')), + $this->newOption('sendgrid.api-key', 'string', null) + ->setMasked(true) + ->setDescription(pht('SendGrid API key.')), + ); + } + +}