mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
closes #3690
This commit is contained in:
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user