send email for userAded

This commit is contained in:
girish@cloudron.io
2016-02-08 20:51:20 -08:00
parent 0d4f113d7d
commit 5e5435e869

View File

@@ -160,6 +160,7 @@ function createUser(username, password, email, displayName, invitor, sendInvite,
callback(null, user);
mailer.userAdded(user, sendInvite);
if (sendInvite) mailer.sendInvite(user, invitor);
});
});