Skip to content

Commit

Permalink
Use new TOTP structure when importing 1Password Vault
Browse files Browse the repository at this point in the history
  • Loading branch information
droidmonkey committed Jan 3, 2020
1 parent 9ab5314 commit 181ad76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format/OpVaultReaderSections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void OpVaultReader::fillFromSectionField(Entry* entry, const QString& sectionNam
}
attrValue = query.toString(QUrl::FullyEncoded);
}
entry->attributes()->set(Totp::ATTRIBUTE_SETTINGS, attrValue, true);
entry->setTotp(Totp::parseSettings(attrValue));
} else if (attrName.startsWith("expir", Qt::CaseInsensitive)) {
QDateTime expiry;
if (kind == "date") {
Expand Down

0 comments on commit 181ad76

Please sign in to comment.