mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
set holding account to false when registered
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user