Index: chrome/browser/chromeos/login/existing_user_controller.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc |
index e487a32e1cc96a3e020edf77cf4172399088e444..0b9c6ea9c584eef1fa96731ac20abca37adac425 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
@@ -228,8 +228,7 @@ void ExistingUserController::UpdateLoginDisplay( |
(*it)->GetType() != user_manager::USER_TYPE_SUPERVISED || |
user_manager::UserManager::Get()->AreSupervisedUsersAllowed(); |
bool meets_whitelist_requirements = |
- LoginUtils::IsWhitelisted((*it)->email(), NULL) || |
- (*it)->GetType() != user_manager::USER_TYPE_REGULAR; |
+ LoginUtils::IsWhitelisted((*it)->email(), NULL) || (*it)->IsRegular(); |
Nikita (slow)
2014/11/11 12:06:36
This has to be !(*it)->IsRegular()
merkulova
2014/11/11 15:47:43
Done.
|
// Public session accounts are always shown on login screen. |
bool meets_show_users_requirements = |