1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

autofill card expiration

This commit is contained in:
Kyle Spearrin
2017-10-18 11:50:21 -04:00
parent cd878c75b2
commit f4e72aae8a
3 changed files with 36 additions and 7 deletions

View File

@@ -195,6 +195,14 @@ angular
}
});
$scope.formatYear = function (year) {
if (year.length == 2) {
return '20' + year;
}
return year;
};
function totpUpdateCode() {
if ($scope.cipher.type !== constantsService.cipherType.login || !$scope.cipher.login.totp) {
return;