Merge branch 'develop' into api-v3

This commit is contained in:
Blade Barringer
2015-11-04 20:25:05 -06:00
11 changed files with 211 additions and 41 deletions
+2
View File
@@ -123,6 +123,8 @@ api.registerUser = function(req, res, next) {
};
analytics.track('register', analyticsData)
user.registeredThrough = req.headers['x-client']
user.save(function(err, savedUser){
// Clean previous email preferences
// TODO when emails added to EmailUnsubcription they should use lowercase version