mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
check enabled too
This commit is contained in:
@@ -124,7 +124,7 @@ export class UserService implements UserServiceAbstraction {
|
|||||||
|
|
||||||
const orgs = await this.getAllOrganizations();
|
const orgs = await this.getAllOrganizations();
|
||||||
for (let i = 0; i < orgs.length; i++) {
|
for (let i = 0; i < orgs.length; i++) {
|
||||||
if (orgs[i].usersGetPremium) {
|
if (orgs[i].usersGetPremium && orgs[i].enabled) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user