Fixed email not getting sent from correct email in config. Added way to
change the default name (CyTube Services) that email is sent from.
This commit is contained in:
parent
bed10ec8a9
commit
407f8930c3
3 changed files with 3 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ function handlePasswordReset(req, res) {
|
|||
Config.get("http.domain") + "/account/passwordrecover/"+hash;
|
||||
|
||||
var mail = {
|
||||
from: "CyTube Services <" + Config.get("mail.from") + ">",
|
||||
from: Config.get("mail.from-name") + " <" + Config.get("mail.from-address") + ">",
|
||||
to: email,
|
||||
subject: "Password reset request",
|
||||
text: msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue