From 069657a1d5e43bacfdae376df17f85483f6889ca Mon Sep 17 00:00:00 2001 From: David Beckley Date: Tue, 23 Sep 2014 17:07:54 -0700 Subject: [PATCH] Call save rather than return it --- server_setup.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_setup.coffee b/server_setup.coffee index 7b14c273d..033055e7c 100644 --- a/server_setup.coffee +++ b/server_setup.coffee @@ -97,7 +97,7 @@ setupFallbackRouteToIndex = (app) -> if req.user sendMain(req, res) req.user.set('lastIP', req.connection.remoteAddress) - req.user.save + req.user.save() else user = auth.makeNewUser(req) makeNext = (req, res) -> -> sendMain(req, res)