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) -> app.all '*', (req, res) ->
if req.user if req.user
sendMain(req, res) sendMain(req, res)
req.user.set('lastIP', req.connection.remoteAddress) # Disabling for HoC
req.user.save() # req.user.set('lastIP', req.connection.remoteAddress)
# req.user.save()
else else
user = auth.makeNewUser(req) user = auth.makeNewUser(req)
makeNext = (req, res) -> -> sendMain(req, res) makeNext = (req, res) -> -> sendMain(req, res)