mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-13 01:58:44 +02:00
check enabled too
This commit is contained in:
parent
5db115ae43
commit
82bf646a77
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user