mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 11:07:10 +02:00
test(users): send restore password mail
This commit is contained in:
@@ -302,6 +302,11 @@ exports.sendOfficial = function (req, res) {
|
||||
if (config.secure && config.secure.ssl === true) {
|
||||
httpTransport = 'https://';
|
||||
}
|
||||
|
||||
mtDebug.debugRed(req.app.get('domain'));
|
||||
mtDebug.debugRed(config.domain);
|
||||
mtDebug.debugRed(req.headers.host);
|
||||
|
||||
var baseUrl = req.app.get('domain') || config.domain || httpTransport + req.headers.host;
|
||||
res.render(path.resolve('modules/invitations/server/templates/invite-sign-up-email'), {
|
||||
to_email: req.body.email,
|
||||
|
||||
Reference in New Issue
Block a user