Index: chrome/browser/chromeos/login/auth/login_performer.cc |
diff --git a/chrome/browser/chromeos/login/auth/login_performer.cc b/chrome/browser/chromeos/login/auth/login_performer.cc |
index b92b93a45a74c5ddc16958de1f0fc3f5854db382..dcf2cde265f2bf34d41425672069f79b0ae2a9bc 100644 |
--- a/chrome/browser/chromeos/login/auth/login_performer.cc |
+++ b/chrome/browser/chromeos/login/auth/login_performer.cc |
@@ -236,8 +236,7 @@ void LoginPerformer::LoginAsLocallyManagedUser( |
SupervisedUserAuthentication* authentication = UserManager::Get()-> |
GetSupervisedUserManager()->GetAuthentication(); |
- UserContext user_context_copy = |
- authentication->TransformPasswordInContext(user_context); |
+ UserContext user_context_copy = authentication->TransformKey(user_context); |
if (authentication->GetPasswordSchema(user_context.GetUserID()) == |
SupervisedUserAuthentication::SCHEMA_SALT_HASHED) { |
@@ -253,7 +252,7 @@ void LoginPerformer::LoginAsLocallyManagedUser( |
base::Bind(&ExtendedAuthenticator::AuthenticateToMount, |
extended_authenticator_.get(), |
user_context_copy, |
- ExtendedAuthenticator::HashSuccessCallback())); |
+ ExtendedAuthenticator::ResultCallback())); |
} else { |
authenticator_ = LoginUtils::Get()->CreateAuthenticator(this); |