commit
363bc4d6c1
|
@ -433,7 +433,7 @@ module.exports = function(User) {
|
||||||
options.text = options.text || 'Please verify your email by opening ' +
|
options.text = options.text || 'Please verify your email by opening ' +
|
||||||
'this link in a web browser:\n\t{href}';
|
'this link in a web browser:\n\t{href}';
|
||||||
|
|
||||||
options.text = options.text.replace('{href}', options.verifyHref);
|
options.text = options.text.replace(/\{href\}/g, options.verifyHref);
|
||||||
|
|
||||||
options.to = options.to || user.email;
|
options.to = options.to || user.email;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue