mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
Yubikey 2fa setup
This commit is contained in:
@@ -81,6 +81,20 @@
|
||||
|
||||
emailModal.result.then(function () {
|
||||
|
||||
});
|
||||
}
|
||||
else if (provider.type === constants.twoFactorProvider.yubikey) {
|
||||
var yubiModal = $uibModal.open({
|
||||
animation: true,
|
||||
templateUrl: 'app/settings/views/settingsTwoStepYubi.html',
|
||||
controller: 'settingsTwoStepYubiController',
|
||||
resolve: {
|
||||
enabled: function () { return provider.enabled; }
|
||||
}
|
||||
});
|
||||
|
||||
yubiModal.result.then(function () {
|
||||
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user