Fix for anonymous user signups.

This commit is contained in:
Nick Winter 2015-03-23 16:38:12 -07:00
parent d34577dd38
commit eda57e366a

View file

@ -203,3 +203,4 @@ module.exports.makeNewUser = makeNewUser = (req) ->
user.set 'preferredLanguage', lang if lang[...2] isnt 'en'
user.set 'lastIP', req.connection.remoteAddress
user.set 'chinaVersion', true if req.chinaVersion
user