From 87167841d0ce3caf6e4894e2a8fcaa40d8ea6159 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Tue, 18 Mar 2014 15:09:44 +0000 Subject: [PATCH] set holding account to false when registered --- services/web/app/coffee/controllers/UserController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/controllers/UserController.coffee b/services/web/app/coffee/controllers/UserController.coffee index 0dce803ac2..a373e14043 100644 --- a/services/web/app/coffee/controllers/UserController.coffee +++ b/services/web/app/coffee/controllers/UserController.coffee @@ -61,7 +61,7 @@ module.exports = return AuthenticationController.login req, res else if foundUser? && foundUser.holdingAccount == true #someone put them in as a collaberator user = foundUser - user.holdingAccount == false + user.holdingAccount = false else user = new User email: data.email d = new Date()