mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 11:43:46 +00:00
duo 2fa config and login with web sdk
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
$scope.disableLoading = false;
|
||||
$analytics.eventTrack('Disabled Two-step YubiKey');
|
||||
toastr.success('YubiKey has been disabled.');
|
||||
$scope.enabled = response.Enabled;
|
||||
$scope.close();
|
||||
}, function (response) {
|
||||
toastr.error('Failed to disable.');
|
||||
@@ -102,6 +103,6 @@
|
||||
}
|
||||
|
||||
$scope.close = function () {
|
||||
$uibModalInstance.close();
|
||||
$uibModalInstance.close($scope.enabled);
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user