This commit is contained in:
Julian Lam
2015-10-06 06:13:25 -04:00
parent 95129a1b40
commit 99e5015083
2 changed files with 14 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ authenticationController.register = function(req, res, next) {
return res.status(400).send(err.message);
}
if (req.body.userLang) {
user.setSetting(data.uid, 'userLang', req.body.userLang);
}
res.json(data);
});
};