Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(emails): Fix issue where change password link was undefined (#1886)…
Browse files Browse the repository at this point in the history
… r=vladikoff
  • Loading branch information
vbudhram authored and vladikoff committed May 10, 2017
1 parent 3bc36eb commit e62aab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/senders/email.js
Expand Up @@ -498,6 +498,8 @@ module.exports = function (log) {
link: links.link,
location: this._constructLocationString(message),
oneClickLink: links.oneClickLink,
passwordChangeLinkAttributes: links.passwordChangeLinkAttributes,
passwordChangeLink: links.passwordChangeLink,
privacyUrl: links.privacyUrl,
reportSignInLink: links.reportSignInLink,
reportSignInLinkAttributes: links.reportSignInLinkAttributes,
Expand Down
3 changes: 2 additions & 1 deletion test/local/senders/email.js
Expand Up @@ -54,7 +54,8 @@ var typesContainPasswordResetLinks = [

var typesContainPasswordChangeLinks = [
'newDeviceLoginEmail',
'verifyLoginEmail'
'verifyLoginEmail',
'verifySecondaryEmail'
]

var typesContainUnblockCode = [
Expand Down

0 comments on commit e62aab1

Please sign in to comment.