mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -05:00
Fix for anonymous user signups.
This commit is contained in:
parent
d34577dd38
commit
eda57e366a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue