Browse Source

Fix signup limit

Chocobozzz 1 year ago
parent
commit
823e411fa6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/models/user/user.ts

+ 1 - 1
server/models/user/user.ts

@@ -460,7 +460,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> {
   }
 
   static countTotal () {
-    return this.count()
+    return UserModel.unscoped().count()
   }
 
   static listForAdminApi (parameters: {