1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[%# INTERFACE:
# user: The Bugzilla::User object of the user being created
# new_key: The API key created
#%]
[% PROCESS global/variables.none.tmpl %]
From: [% Param('mailfrom') %]
To: [% user.email %]
Subject: [% terms.Bugzilla %]: New API key created
X-Bugzilla-Type: admin
[This e-mail has been automatically generated]
A new [% terms.Bugzilla %] API key[% IF new_key.description %], with the
description '[% new_key.description FILTER truncate(10) %]'[% END %] has been created. You can view
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.
If you have any issues regarding your account, please contact [% Param('maintainer') %].
|