1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

totp access for orgs

This commit is contained in:
Kyle Spearrin
2017-07-07 12:12:08 -04:00
parent ff729608e1
commit 49dbf4945f
11 changed files with 87 additions and 19 deletions

View File

@@ -143,8 +143,10 @@ angular
type: profile.Organizations[i].Type,
enabled: profile.Organizations[i].Enabled,
maxCollections: profile.Organizations[i].MaxCollections,
maxStorageGb: profile.Organizations[i].MaxStorageGb,
seats: profile.Organizations[i].Seats,
useGroups: profile.Organizations[i].UseGroups
useGroups: profile.Organizations[i].UseGroups,
useTotp: profile.Organizations[i].UseTotp
};
}
@@ -174,8 +176,10 @@ angular
type: 0, // 0 = Owner
enabled: true,
maxCollections: org.MaxCollections,
maxStorageGb: org.MaxStorageGb,
seats: org.Seats,
useGroups: org.UseGroups
useGroups: org.UseGroups,
useTotp: org.UseTotp
};
profile.organizations[o.id] = o;