Skip to content

Commit 2b02950

Browse files
geroplroboquat
authored andcommitted
Revert "TEST COMMIT"
This reverts commit 6e48a14.
1 parent 8e9912f commit 2b02950

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/server/ee/src/user/user-service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ export class UserServiceEE extends UserService {
8585

8686
// 1. check the license
8787
const userCount = await this.userDb.getUserCount(true);
88-
if (userCount > -1) {
89-
//!this.licenseEvaluator.hasEnoughSeats(userCount)) {
88+
if (!this.licenseEvaluator.hasEnoughSeats(userCount)) {
9089
const msg = `Maximum number of users permitted by the license exceeded`;
9190
throw AuthException.create("Cannot sign up", msg, { userCount, params });
9291
}

0 commit comments

Comments
 (0)