mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 00:51:40 +00:00
set holding account to false when registered
This commit is contained in:
parent
069efaba1b
commit
87167841d0
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue