Skip to content

Commit

Permalink
Add the name of the group to the results for browser extensions
Browse files Browse the repository at this point in the history
Fixes #466

So it can be displayed in the autocomplete list when more than
one login matches. For users that use groups and have similar names
for multiple logins but organized in different groups
  • Loading branch information
ulich authored and droidmonkey committed Mar 7, 2020
1 parent ca471e9 commit a6c3c11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/BrowserService.cpp
Expand Up @@ -859,6 +859,7 @@ QJsonObject BrowserService::prepareEntry(const Entry* entry)
res["password"] = entry->resolveMultiplePlaceholders(entry->password());
res["name"] = entry->resolveMultiplePlaceholders(entry->title());
res["uuid"] = entry->resolveMultiplePlaceholders(entry->uuidToHex());
res["group"] = entry->resolveMultiplePlaceholders(entry->group()->name());

if (entry->hasTotp()) {
res["totp"] = entry->totp();
Expand Down

0 comments on commit a6c3c11

Please sign in to comment.