aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/email/new-user-details.txt.tmpl
diff options
context:
space:
mode:
authorHugo Seabrook <hugo.seabrook@gmail.com>2013-01-30 17:21:16 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-30 17:21:16 +0100
commitd6d056f9755dea6b2c36779347be9fd03ff7eab0 (patch)
tree12445f22c689a5abfdcf285a1da6a5dc55dc7118 /template/en/default/email/new-user-details.txt.tmpl
parent3da30e2e7eea79ea8e5e0fbf4b048d02673356eb (diff)
downloadbugs-d6d056f9755dea6b2c36779347be9fd03ff7eab0.tar
bugs-d6d056f9755dea6b2c36779347be9fd03ff7eab0.tar.gz
bugs-d6d056f9755dea6b2c36779347be9fd03ff7eab0.tar.bz2
bugs-d6d056f9755dea6b2c36779347be9fd03ff7eab0.tar.xz
bugs-d6d056f9755dea6b2c36779347be9fd03ff7eab0.zip
Bug 272407: Send an e-mail when the administrator creates a new account for a user
r/a=LpSolit
Diffstat (limited to 'template/en/default/email/new-user-details.txt.tmpl')
-rw-r--r--template/en/default/email/new-user-details.txt.tmpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/template/en/default/email/new-user-details.txt.tmpl b/template/en/default/email/new-user-details.txt.tmpl
new file mode 100644
index 000000000..b1b43caf2
--- /dev/null
+++ b/template/en/default/email/new-user-details.txt.tmpl
@@ -0,0 +1,31 @@
+[%# 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:
+ # new_user: The Bugzilla::User object of the user being created
+ #%]
+
+From: [% Param('mailfrom') %]
+To: [% new_user.email %]
+Subject: [% terms.Bugzilla %]: New account created
+X-Bugzilla-Type: admin
+
+[This e-mail has been automatically generated]
+
+A new [% terms.Bugzilla %] user account has been created at [% urlbase %]:
+
+Login: [% new_user.login %]
+[% IF new_user.realname %]
+Real name: [% new_user.realname %]
+[% END %]
+
+For security reasons, we have not included your new password in this e-mail.
+If you have not being given it via other means, you can use the 'Forgot
+Password' link to set a new password.
+
+If you have any issues regarding your account, please contact [% Param('maintainer') %].