mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: Empty database name #2159
This commit is contained in:
@@ -267,8 +267,11 @@ class PasskeyProviderService : CredentialProviderService() {
|
||||
}
|
||||
|
||||
private fun handleCreatePasskeyQuery(request: BeginCreatePublicKeyCredentialRequest): BeginCreateCredentialResponse {
|
||||
|
||||
val accountName = mDatabase?.name ?: getString(R.string.passkey_database_username)
|
||||
val databaseName = mDatabase?.name
|
||||
val accountName =
|
||||
if (databaseName?.isBlank() != false)
|
||||
getString(R.string.passkey_database_username)
|
||||
else databaseName
|
||||
val createEntries: MutableList<CreateEntry> = mutableListOf()
|
||||
val relyingPartyId = PublicKeyCredentialCreationOptions(
|
||||
requestJson = request.requestJson,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
* Passkeys management #1421 (Thx @cali-95)
|
||||
* Small fixes #2171 #2150
|
||||
* Small fixes #2171 #2150 #2159
|
||||
Reference in New Issue
Block a user