1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 11:43:46 +00:00

org user invites and confirmation

This commit is contained in:
Kyle Spearrin
2017-03-04 20:41:45 -05:00
parent b36799bf0c
commit a9e85f8765
9 changed files with 170 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
angular
.module('bit.organization')
.controller('organizationPeopleInviteController', function ($scope, $state, $uibModalInstance, apiService) {
$scope.submit = function (model) {
apiService.organizationUsers.invite({ orgId: $state.params.orgId }, { email: model.email }, function () {
$uibModalInstance.close();
});
};
$scope.close = function () {
$uibModalInstance.dismiss('cancel');
};
});