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:
17
src/app/global/paidOrgRequiredController.js
Normal file
17
src/app/global/paidOrgRequiredController.js
Normal 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();
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user