Skip to content

Commit

Permalink
Merge pull request #348 from teutat3s/fix-password-reset
Browse files Browse the repository at this point in the history
Fix password reset mail template
  • Loading branch information
polonel committed Jul 14, 2020
2 parents b7b9d7f + 7af6034 commit a861b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ mainController.forgotPass = function (req, res) {
}

var subject = '[Trudesk] Password Reset Request'
if (template) subject = global.HandleBars.compile(template.subject)(data)
if (template) subject = global.Handlebars.compile(template.subject)(data)

email
.render('password-reset', data)
Expand Down

0 comments on commit a861b09

Please sign in to comment.