mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Disabling saving of lastIP user property for now.
This commit is contained in:
parent
fc84003883
commit
32f0bc745f
1 changed files with 3 additions and 2 deletions
|
@ -128,8 +128,9 @@ setupFallbackRouteToIndex = (app) ->
|
|||
app.all '*', (req, res) ->
|
||||
if req.user
|
||||
sendMain(req, res)
|
||||
req.user.set('lastIP', req.connection.remoteAddress)
|
||||
req.user.save()
|
||||
# Disabling for HoC
|
||||
# req.user.set('lastIP', req.connection.remoteAddress)
|
||||
# req.user.save()
|
||||
else
|
||||
user = auth.makeNewUser(req)
|
||||
makeNext = (req, res) -> -> sendMain(req, res)
|
||||
|
|
Loading…
Reference in a new issue