1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

Yubikey 2fa setup

This commit is contained in:
Kyle Spearrin
2017-06-20 14:00:55 -04:00
parent 4db5c96781
commit cf5b0635e4
7 changed files with 254 additions and 2 deletions

View File

@@ -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 () {
});
}
};