|
|
@ -48,7 +48,7 @@ module.exports = function(User) {
|
|
|
|
notifications.create({
|
|
|
|
notifications.create({
|
|
|
|
bodyShort: '[[notifications:new_register, ' + username + ']]',
|
|
|
|
bodyShort: '[[notifications:new_register, ' + username + ']]',
|
|
|
|
nid: 'new_register:' + username,
|
|
|
|
nid: 'new_register:' + username,
|
|
|
|
path: '/admin/manage/users/registration'
|
|
|
|
path: '/admin/manage/registration'
|
|
|
|
}, function(err, notification) {
|
|
|
|
}, function(err, notification) {
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|
return callback(err);
|
|
|
|
return callback(err);
|
|
|
|