Create KPH attribute for browser integration

This commit is contained in:
varjolintu 2018-04-16 11:41:45 +03:00
parent 5a84978dab
commit 2110ae4d33

View File

@ -607,6 +607,10 @@ QJsonObject BrowserService::prepareEntry(const Entry* entry)
res["name"] = entry->resolveMultiplePlaceholders(entry->title());
res["uuid"] = entry->resolveMultiplePlaceholders(entry->uuid().toHex());
if (entry->hasTotp()) {
res["totp"] = entry->totp();
}
if (BrowserSettings::supportKphFields()) {
const EntryAttributes* attr = entry->attributes();
QJsonArray stringFields;