From: Israel Madueme Date: Thu, 29 Mar 2018 17:42:05 +0000 (-0400) Subject: Bug 1200695 - API-key-creation emails should reflect if the action was a result of... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3890e90e2fa0efd0e31c519814c7169f34b52a4e;p=thirdparty%2Fbugzilla.git Bug 1200695 - API-key-creation emails should reflect if the action was a result of auth delegation --- diff --git a/template/en/default/email/new-api-key.txt.tmpl b/template/en/default/email/new-api-key.txt.tmpl index 4a03fe800..aed904def 100644 --- a/template/en/default/email/new-api-key.txt.tmpl +++ b/template/en/default/email/new-api-key.txt.tmpl @@ -26,9 +26,17 @@ or update the key at the following URL: [%+ urlbase %]userprefs.cgi?tab=apikey +[% IF new_key.app_id == Param('mozreview_app_id') %] +This API key was automatically created by MozReview. If you did not recently log in to +MozReview, please disable the key at the above URL, and change your password immediately. +[% ELSIF new_key.app_id == Param('phabricator_app_id') %] +This API key was automatically created by Mozilla's Phabricator instance. If you did not recently +log in to Phabricator, please disable the key at the above URL, and change your password immediately. +[% ELSE %] IMPORTANT: If you did not request a new key, your [% terms.Bugzilla %] account may have been compromised. In this case, please disable the key at the above URL, and change your password immediately. +[% END %] For security reasons, we have not included your new key in this e-mail.