mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-20 12:44:47 -04:00
Create KPH attribute for browser integration
This commit is contained in:
parent
5a84978dab
commit
2110ae4d33
1 changed files with 4 additions and 0 deletions
|
@ -607,6 +607,10 @@ QJsonObject BrowserService::prepareEntry(const Entry* entry)
|
||||||
res["name"] = entry->resolveMultiplePlaceholders(entry->title());
|
res["name"] = entry->resolveMultiplePlaceholders(entry->title());
|
||||||
res["uuid"] = entry->resolveMultiplePlaceholders(entry->uuid().toHex());
|
res["uuid"] = entry->resolveMultiplePlaceholders(entry->uuid().toHex());
|
||||||
|
|
||||||
|
if (entry->hasTotp()) {
|
||||||
|
res["totp"] = entry->totp();
|
||||||
|
}
|
||||||
|
|
||||||
if (BrowserSettings::supportKphFields()) {
|
if (BrowserSettings::supportKphFields()) {
|
||||||
const EntryAttributes* attr = entry->attributes();
|
const EntryAttributes* attr = entry->attributes();
|
||||||
QJsonArray stringFields;
|
QJsonArray stringFields;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue