Disabling saving of lastIP user property for now.

This commit is contained in:
Scott Erickson 2014-12-08 10:45:24 -08:00
parent fc84003883
commit 32f0bc745f

View file

@ -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)