mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: Passkey subdomain #2291
This commit is contained in:
@@ -181,15 +181,8 @@ class SearchHelper {
|
|||||||
val credentialIds = searchParameters.searchOptions
|
val credentialIds = searchParameters.searchOptions
|
||||||
val containsRelyingParty = entry.getExtraFields().any { field ->
|
val containsRelyingParty = entry.getExtraFields().any { field ->
|
||||||
field.isRelyingParty()
|
field.isRelyingParty()
|
||||||
&& checkSearchQuery(
|
&& field.protectedValue.stringValue
|
||||||
stringToCheck = field.protectedValue.stringValue,
|
.equals(relyingParty, ignoreCase = true)
|
||||||
searchParameters = SearchParameters().apply {
|
|
||||||
searchQuery = relyingParty
|
|
||||||
searchInRelyingParty = true
|
|
||||||
caseSensitive = false
|
|
||||||
isRegex = false
|
|
||||||
}
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
// Check empty to allow any credential if not defined
|
// Check empty to allow any credential if not defined
|
||||||
val containsCredentialId = if(credentialIds.isEmpty()) true
|
val containsCredentialId = if(credentialIds.isEmpty()) true
|
||||||
|
|||||||
Reference in New Issue
Block a user