mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
15 lines
494 B
JavaScript
15 lines
494 B
JavaScript
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');
|
|
};
|
|
});
|