forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Passwords] Require matching username for UsernameFirstFlow
This change modifies `IsPossibleUsernameValid` to require that the possible username is part of an already saved credential for the same site. This will be later extended to only require a match with a local username saved on any site. For robustness the username and the set of allowed usernames are canonicalized, that is case and email providers are irrelevant. The existing requirements to only be ASCII and to not contain whitespace are dropped. Bug: 959776, 1167042 Change-Id: Ic50c954ddd7a4fd969c56295825ae717c870b915 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627278 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: Maria Kazinova <kazinova@google.com> Cr-Commit-Position: refs/heads/master@{#844013}
- Loading branch information
Showing
6 changed files
with
106 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters