Canonicalize gmail prefix when saving password hash
Google login page allows users to input their Gmail prefix or input the full gmail email address for sign-in. For example, user's gmail is user@gmail.com, then on https://accounts.google.com..., typing "user" or "user@gmail.com" as username have the same effect. However, current HashPasswordManager treats them as two separate accounts when saving password hashes. This CL improves the canonicalization of username by appending "@gmail.com" to PasswordHashData.username if it is a Gmail email prefix. Note that Dasher account always require full email as username. Bug: 858865 Change-Id: I9ddf23f54ee67bd73bd754953a3b80758e062ef3 Reviewed-on: https://chromium-review.googlesource.com/1135906Reviewed-by:Vadym Doroshenko <dvadym@chromium.org> Commit-Queue: Jialiu Lin <jialiul@chromium.org> Cr-Commit-Position: refs/heads/master@{#574953}
Showing
Please register or sign in to comment