aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-19 15:23:06 +0100
committerChocobozzz <me@florianbigard.com>2023-01-19 15:23:06 +0100
commit823e411fa6e2d66258fb7bc9e617a0822190273f (patch)
tree8b0931d49c437d8bb47c6fd35282a4fa9b040e50 /server
parent7a0bcd67735ca43d8afa50bfcd4624de383553a7 (diff)
downloadPeerTube-823e411fa6e2d66258fb7bc9e617a0822190273f.tar.gz
PeerTube-823e411fa6e2d66258fb7bc9e617a0822190273f.tar.zst
PeerTube-823e411fa6e2d66258fb7bc9e617a0822190273f.zip
Fix signup limit
Diffstat (limited to 'server')
-rw-r--r--server/models/user/user.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts
index 672728a2a..3fd808edc 100644
--- a/server/models/user/user.ts
+++ b/server/models/user/user.ts
@@ -460,7 +460,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
460 } 460 }
461 461
462 static countTotal () { 462 static countTotal () {
463 return this.count() 463 return UserModel.unscoped().count()
464 } 464 }
465 465
466 static listForAdminApi (parameters: { 466 static listForAdminApi (parameters: {