1
0
mirror of https://github.com/bitwarden/web synced 2025-12-26 13:13:24 +00:00

event logs for users. ip address. useEvents checks

This commit is contained in:
Kyle Spearrin
2017-12-18 13:17:49 -05:00
parent 828149b2d6
commit f54884eb79
11 changed files with 168 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.organization')
.controller('organizationVaultCipherEventsController', function ($scope, apiService, $uibModalInstance, cipherService,
.controller('organizationVaultCipherEventsController', function ($scope, apiService, $uibModalInstance,
cipher, $analytics, eventService) {
$analytics.eventTrack('organizationVaultCipherEventsController', { category: 'Modal' });
$scope.cipher = cipher;
@@ -84,7 +84,8 @@
appName: eventInfo.appName,
userId: userId,
userName: userId ? (orgUsersUserIdDict[userId] || '-') : '-',
date: list.Data[i].Date
date: list.Data[i].Date,
ip: list.Data[i].IpAddress
});
}
if ($scope.events && $scope.events.length > 0) {