1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

recover and no providers

This commit is contained in:
Kyle Spearrin
2017-06-27 10:54:59 -04:00
parent 64068d2fa1
commit 666cb3198e
4 changed files with 39 additions and 8 deletions

View File

@@ -67,11 +67,6 @@
});
};
$scope.lostApp = function () {
$analytics.eventTrack('Selected Lost 2FA App');
chrome.tabs.create({ url: 'https://help.bitwarden.com/article/lost-two-step-device/' });
};
$scope.sendEmail = function (doToast) {
if ($scope.providerType !== constants.twoFactorProvider.email) {
return;
@@ -126,7 +121,7 @@
providerPriority = provider[0].priority;
}
}
return parseInt(providerType);
return providerType == null ? null : parseInt(providerType);
}
function init() {