diff options
-rw-r--r-- | Bugzilla/Token.pm | 3 | ||||
-rw-r--r-- | Token.pm | 3 |
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"; @@ -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"; |