summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Token.pm3
-rw-r--r--Token.pm3
2 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/Token.pm b/Bugzilla/Token.pm
index 07e5de698..3f75eeb95 100644
--- a/Bugzilla/Token.pm
+++ b/Bugzilla/Token.pm
@@ -122,7 +122,8 @@ sub IssuePasswordToken {
$vars->{'emailaddress'} = $loginname . &::Param('emailsuffix');
my $message = "";
- $template->process("account/email/password.txt.tmpl", $vars, \$message)
+ $template->process("account/password/forgotten-password.txt.tmpl",
+ $vars, \$message)
|| &::ThrowTemplateError($template->error());
open SENDMAIL, "|/usr/lib/sendmail -t -i";
diff --git a/Token.pm b/Token.pm
index 07e5de698..3f75eeb95 100644
--- a/Token.pm
+++ b/Token.pm
@@ -122,7 +122,8 @@ sub IssuePasswordToken {
$vars->{'emailaddress'} = $loginname . &::Param('emailsuffix');
my $message = "";
- $template->process("account/email/password.txt.tmpl", $vars, \$message)
+ $template->process("account/password/forgotten-password.txt.tmpl",
+ $vars, \$message)
|| &::ThrowTemplateError($template->error());
open SENDMAIL, "|/usr/lib/sendmail -t -i";