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

convert cipher service to ts

This commit is contained in:
Kyle Spearrin
2017-11-06 10:58:32 -05:00
parent 38e235302c
commit b05426f953
13 changed files with 543 additions and 23 deletions

View File

@@ -43,7 +43,7 @@ angular
}
}
if (model.login.totp && (cipherObj.organizationUseTotp || tokenService.getPremium())) {
if (model.login && model.login.totp && (cipherObj.organizationUseTotp || tokenService.getPremium())) {
totpUpdateCode();
totpTick();