set holding account to false when registered

This commit is contained in:
Henry Oswald 2014-03-18 15:09:44 +00:00
parent 069efaba1b
commit 87167841d0

View file

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