1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

organizationUseTotp on totp copy

This commit is contained in:
Kyle Spearrin 2019-05-27 22:04:00 -04:00
parent 81071be126
commit 92fb43fc2e

View File

@ -176,7 +176,7 @@ export default class AutofillService implements AutofillServiceInterface {
}, { frameId: pd.frameId });
if (options.cipher.type !== CipherType.Login || totpPromise || options.skipTotp ||
!options.cipher.login.totp || !canAccessPremium) {
!options.cipher.login.totp || (!canAccessPremium && !options.cipher.organizationUseTotp)) {
return;
}