check enabled too

This commit is contained in:
Kyle Spearrin 2018-08-29 13:44:55 -04:00
parent 5db115ae43
commit 82bf646a77
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export class UserService implements UserServiceAbstraction {
const orgs = await this.getAllOrganizations();
for (let i = 0; i < orgs.length; i++) {
if (orgs[i].usersGetPremium) {
if (orgs[i].usersGetPremium && orgs[i].enabled) {
return true;
}
}