mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user