mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
implemented emailer for welcome email (though the email confirmation system is horribly broken)
This commit is contained in:
@@ -81,8 +81,9 @@ var DebugRoute = function(app) {
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
var Emailer = require('../emailer');
|
||||
Emailer.send('welcome', {
|
||||
Emailer.send('welcome', 1, {
|
||||
username: 'test',
|
||||
subject: 'this is a subject',
|
||||
site_title: 'derp',
|
||||
confirm_link: 'linkylink'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user