Skip to content

Commit

Permalink
Passkeys: Fix showing correct username in the reports
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu authored and pull[bot] committed Jun 23, 2024
1 parent 52b359e commit 845edbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/reports/ReportsWidgetPasskeys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "ui_ReportsWidgetPasskeys.h"

#include "browser/BrowserPasskeys.h"
#include "browser/PasskeyUtils.h"
#include "core/AsyncTask.h"
#include "core/Group.h"
#include "core/Metadata.h"
Expand Down Expand Up @@ -132,7 +133,7 @@ void ReportsWidgetPasskeys::addPasskeyRow(Group* group, Entry* entry)
auto row = QList<QStandardItem*>();
row << new QStandardItem(Icons::entryIconPixmap(entry), title);
row << new QStandardItem(Icons::groupIconPixmap(group), group->hierarchy().join("/"));
row << new QStandardItem(entry->username());
row << new QStandardItem(passkeyUtils()->getUsernameFromEntry(entry));
row << new QStandardItem(entry->attributes()->value(BrowserPasskeys::KPEX_PASSKEY_RELYING_PARTY));
row << new QStandardItem(urlList.join('\n'));

Expand Down

0 comments on commit 845edbb

Please sign in to comment.