diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index bffe1da200..cbf974ee1e 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -602,5 +602,9 @@ "overwritePasswordConfirmation": { "message": "Are you sure you want to overwrite the current password?", "description": "Are you sure you want to overwrite the current password?" + }, + "lost2FAApp": { + "message": "Lost authenticator app?", + "description": "Lost authenticator app?" } } diff --git a/src/popup/app/accounts/accountsLoginTwoFactorController.js b/src/popup/app/accounts/accountsLoginTwoFactorController.js index 386a143c5c..a4c952f750 100644 --- a/src/popup/app/accounts/accountsLoginTwoFactorController.js +++ b/src/popup/app/accounts/accountsLoginTwoFactorController.js @@ -21,4 +21,9 @@ $state.go('tabs.vault', { animation: 'in-slide-left', syncOnLoad: true }); }); }; + + $scope.lostApp = function () { + $analytics.eventTrack('Selected Lost 2FA App'); + chrome.tabs.create({ url: 'https://vault.bitwarden.com/#/recover' }); + }; }); diff --git a/src/popup/app/accounts/views/accountsLoginTwoFactor.html b/src/popup/app/accounts/views/accountsLoginTwoFactor.html index 519c4734ed..b304ad388c 100644 --- a/src/popup/app/accounts/views/accountsLoginTwoFactor.html +++ b/src/popup/app/accounts/views/accountsLoginTwoFactor.html @@ -24,5 +24,8 @@ +