mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 10:56:53 -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) ->
|
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)
|
||||||
|
|
Loading…
Reference in a new issue