diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-03-27 09:08:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 13:38:29 +0530 |
commit | b21c032f3176510243e0fc73d5e81edec0634456 (patch) | |
tree | 2b7cf84378b7121d02b40ef0d528af004ff78625 /app/src/main/java/com | |
parent | b6730ac123c5683d0999ac09cdd03da41ec678d0 (diff) |
Improve Autofill heuristic terms (#674)
Add "e-mail" and "login" as username terms and sort the lists.
Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/oreo/FormField.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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 8a3380cc..cb60d624 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 @@ -80,10 +80,10 @@ class FormField( "search", "find", "captcha" ) private val PASSWORD_HEURISTIC_TERMS = listOf( - "pass", "pwd", "pswd" + "pass", "pswd", "pwd" ) private val USERNAME_HEURISTIC_TERMS = listOf( - "user", "name", "email" + "e-mail", "email", "login", "name", "user" ) } |