1
0
mirror of https://github.com/bitwarden/web synced 2025-12-20 10:13:15 +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

@@ -0,0 +1,17 @@
angular
.module('bit.global')
.controller('paidOrgRequiredController', function ($scope, $state, $uibModalInstance, $analytics, $uibModalStack, orgId) {
$analytics.eventTrack('paidOrgRequiredController', { category: 'Modal' });
$scope.go = function () {
$analytics.eventTrack('Get Paid Org');
$state.go('backend.org.billing', { orgId: orgId }).then(function () {
$scope.close();
});
};
$scope.close = function () {
$uibModalStack.dismissAll();
};
});