mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-03-11 08:54:48 +00:00
Merge pull request #1850 from varjolintu/create_totp_attribute
Pass TOTP with credential data to KeePassXC-Browser
This commit is contained in:
commit
5c7aaf5754
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["uuid"] = entry->resolveMultiplePlaceholders(entry->uuid().toHex());
|
||||
|
||||
if (entry->hasTotp()) {
|
||||
res["totp"] = entry->totp();
|
||||
}
|
||||
|
||||
if (BrowserSettings::supportKphFields()) {
|
||||
const EntryAttributes* attr = entry->attributes();
|
||||
QJsonArray stringFields;
|
||||
|
|
|
|||
Loading…
Reference in a new issue