| Index: chrome/browser/chromeos/login/lock/screen_locker.cc
|
| diff --git a/chrome/browser/chromeos/login/lock/screen_locker.cc b/chrome/browser/chromeos/login/lock/screen_locker.cc
|
| index eea1b56bd8032eb74fffaea8f9d4c552f5c2feb2..d0aa1747ae7721758ae6d40fd3e61f02f3490734 100644
|
| --- a/chrome/browser/chromeos/login/lock/screen_locker.cc
|
| +++ b/chrome/browser/chromeos/login/lock/screen_locker.cc
|
| @@ -250,7 +250,7 @@ void ScreenLocker::UnlockOnLoginSuccess() {
|
| }
|
|
|
| void ScreenLocker::Authenticate(const UserContext& user_context) {
|
| - LOG_ASSERT(IsUserLoggedIn(user_context.GetUserID()))
|
| + LOG_ASSERT(IsUserLoggedIn(user_context.GetUserID().GetUserEmail()))
|
| << "Invalid user trying to unlock.";
|
|
|
| authentication_start_time_ = base::Time::Now();
|
| @@ -259,7 +259,7 @@ void ScreenLocker::Authenticate(const UserContext& user_context) {
|
|
|
| // Special case: supervised users. Use special authenticator.
|
| if (const user_manager::User* user =
|
| - FindUnlockUser(user_context.GetUserID())) {
|
| + FindUnlockUser(user_context.GetUserID().GetUserEmail())) {
|
| if (user->GetType() == user_manager::USER_TYPE_SUPERVISED) {
|
| UserContext updated_context = ChromeUserManager::Get()
|
| ->GetSupervisedUserManager()
|
|
|