mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
two factor edits
This commit is contained in:
@@ -52,11 +52,19 @@
|
||||
};
|
||||
|
||||
$scope.twoFactor = function () {
|
||||
$uibModal.open({
|
||||
var twoFactorModal = $uibModal.open({
|
||||
animation: true,
|
||||
templateUrl: 'app/settings/views/settingsTwoFactor.html',
|
||||
controller: 'settingsTwoFactorController'
|
||||
});
|
||||
|
||||
twoFactorModal.result.then(function (enabled) {
|
||||
if (enabled == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
$scope.model.twoFactorEnabled = enabled;
|
||||
});
|
||||
};
|
||||
|
||||
$scope.sessions = function () {
|
||||
|
||||
Reference in New Issue
Block a user