aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-05-25 13:51:12 +0200
committerGitHub <noreply@github.com>2020-05-25 17:21:12 +0530
commit96ed53206e62421e7e7e375ce921c24a85053a13 (patch)
tree880a91d9625461e1bf57078101f96d9e1bbda09d
parentbf688c28f9355798e2544630d217e86e2c44a274 (diff)
Remove "name" from the list of username heuristics (#793)
-rw-r--r--CHANGELOG.md3
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index dd8ba5c3..d9d64f84 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
+### Changed
+- Reduce Autofill false positives on username fields by removing "name" from list of heuristic terms
+
## [1.8.1] - 2020-05-24
### Fixed
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt
index beb9b612..0c96b587 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt
@@ -83,7 +83,7 @@ class FormField(
"pass", "pswd", "pwd"
)
private val USERNAME_HEURISTIC_TERMS = listOf(
- "alias", "e-mail", "email", "login", "name", "user"
+ "alias", "e-mail", "email", "login", "user"
)
}