Added link for 2fa account recovery

This commit is contained in:
Kyle Spearrin 2016-11-19 01:41:09 -05:00
parent e7e4a66750
commit 26c4b20fdd
3 changed files with 12 additions and 0 deletions

View File

@ -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?"
}
}

View File

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

View File

@ -24,5 +24,8 @@
</div>
</div>
</div>
<p class="text-center text-accent">
<a ng-click="lostApp()">{{i18n.lost2FAApp}}</a>
</p>
</div>
</form>