mirror of
https://github.com/bitwarden/web
synced 2025-12-16 16:23:31 +00:00
organization pages and routing
This commit is contained in:
@@ -86,6 +86,18 @@ angular
|
||||
twoFactorEnabled: profile.TwoFactorEnabled,
|
||||
culture: profile.Culture
|
||||
};
|
||||
|
||||
if (profile.Organizations) {
|
||||
var orgs = [];
|
||||
for (var i = 0; i < profile.Organizations.length; i++) {
|
||||
orgs.push({
|
||||
id: profile.Organizations[i].Id,
|
||||
name: profile.Organizations[i].Name
|
||||
});
|
||||
}
|
||||
|
||||
_userProfile.organizations = orgs;
|
||||
}
|
||||
}
|
||||
|
||||
_service.isAuthenticated = function () {
|
||||
|
||||
Reference in New Issue
Block a user