mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-28 13:32:39 +00:00
feat: TOTP Token for Google #553
This commit is contained in:
parent
8c8fc7ec9b
commit
515593ea21
@ -316,6 +316,16 @@ class StructureParser(private val structure: AssistStructure) {
|
||||
"input" -> {
|
||||
nodHtml.attributes?.forEach { pairAttribute ->
|
||||
when (pairAttribute.first.lowercase(Locale.ENGLISH)) {
|
||||
"id", "name" -> {
|
||||
when (pairAttribute.second.lowercase(Locale.ENGLISH)) {
|
||||
"totppin" -> {
|
||||
result?.otpTokenId = autofillId
|
||||
result?.otpTokenValue = node.autofillValue
|
||||
Log.d(TAG, "Autofill OTP token web id: ${node.htmlInfo?.tag} ${node.htmlInfo?.attributes}")
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
"type" -> {
|
||||
when (pairAttribute.second.lowercase(Locale.ENGLISH)) {
|
||||
"tel", "email" -> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user