diff --git a/src/browser/BrowserService.cpp b/src/browser/BrowserService.cpp index 2b5a8bf199..690dd2f58f 100644 --- a/src/browser/BrowserService.cpp +++ b/src/browser/BrowserService.cpp @@ -1148,13 +1148,7 @@ void BrowserService::denyEntry(Entry* entry, const QString& siteHost, const QStr QJsonObject BrowserService::prepareEntry(const Entry* entry) { QJsonObject res; -#ifdef WITH_XC_BROWSER_PASSKEYS - // Use Passkey's username instead if found - res["login"] = entry->hasPasskey() ? passkeyUtils()->getUsernameFromEntry(entry) - : entry->resolveMultiplePlaceholders(entry->username()); -#else res["login"] = entry->resolveMultiplePlaceholders(entry->username()); -#endif res["password"] = entry->resolveMultiplePlaceholders(entry->password()); res["name"] = entry->resolveMultiplePlaceholders(entry->title()); res["uuid"] = entry->resolveMultiplePlaceholders(entry->uuidToHex());