From d82b797f703849a22e3406a9d7be3a1273576b2d Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 1 Feb 2016 20:37:42 +0200 Subject: [PATCH] fix for #4014 --- src/user/create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/create.js b/src/user/create.js index b15226eba0..620dfeb178 100644 --- a/src/user/create.js +++ b/src/user/create.js @@ -99,7 +99,7 @@ module.exports = function(User) { groups.join('registered-users', userData.uid, next); }, function(next) { - user.notifications.sendWelcomeNotification(uid, next); + User.notifications.sendWelcomeNotification(uid, next); }, function(next) { if (userData.email) {