| Index: chromeos/login/auth/cryptohome_authenticator.cc
|
| diff --git a/chromeos/login/auth/cryptohome_authenticator.cc b/chromeos/login/auth/cryptohome_authenticator.cc
|
| index a4f98d23be13501898b09f071522baf656f68650..b60fc86bef256e1c7f4bc9286d74338dcc293122 100644
|
| --- a/chromeos/login/auth/cryptohome_authenticator.cc
|
| +++ b/chromeos/login/auth/cryptohome_authenticator.cc
|
| @@ -492,7 +492,9 @@ CryptohomeAuthenticator::CryptohomeAuthenticator(
|
| void CryptohomeAuthenticator::AuthenticateToLogin(
|
| content::BrowserContext* context,
|
| const UserContext& user_context) {
|
| - DCHECK_EQ(user_manager::USER_TYPE_REGULAR, user_context.GetUserType());
|
| + DCHECK(user_context.GetUserType() == user_manager::USER_TYPE_REGULAR ||
|
| + user_context.GetUserType() ==
|
| + user_manager::USER_TYPE_ACTIVE_DIRECTORY);
|
| authentication_context_ = context;
|
| current_state_.reset(new AuthAttemptState(user_context,
|
| false, // unlock
|
|
|