mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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
@ -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 New Issue
Block a user