From 823e411fa6e2d66258fb7bc9e617a0822190273f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Jan 2023 15:23:06 +0100 Subject: Fix signup limit --- server/models/user/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>> { } static countTotal () { - return this.count() + return UserModel.unscoped().count() } static listForAdminApi (parameters: { -- cgit v1.2.3