Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Unified Diff: chrome/browser/chromeos/login/login_performer.cc

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/login_display.h ('k') | chrome/browser/chromeos/login/login_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_performer.cc
diff --git a/chrome/browser/chromeos/login/login_performer.cc b/chrome/browser/chromeos/login/login_performer.cc
index 910cdb2f5af62891fc1db7ac24a94cb7fe535540..a736a38240e802502feee695994907e1776bb9e4 100644
--- a/chrome/browser/chromeos/login/login_performer.cc
+++ b/chrome/browser/chromeos/login/login_performer.cc
@@ -276,7 +276,8 @@ void LoginPerformer::CompleteLogin(const std::string& username,
StartLoginCompletion();
} else {
// Otherwise, do whitelist check first.
- if (cros_settings->FindEmailInList(kAccountsPrefUsers, username)) {
+ if (cros_settings->FindEmailInList(
+ kAccountsPrefUsers, Authenticator::Canonicalize(username))) {
StartLoginCompletion();
} else {
if (delegate_)
« no previous file with comments | « chrome/browser/chromeos/login/login_display.h ('k') | chrome/browser/chromeos/login/login_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698