| Index: chromeos/tpm_token_loader.cc
|
| diff --git a/chromeos/tpm_token_loader.cc b/chromeos/tpm_token_loader.cc
|
| index 44a438a3c6875b8246d480ee0087e8e27e8c0a23..49a84436206100028a0261ef462300d5923fc34b 100644
|
| --- a/chromeos/tpm_token_loader.cc
|
| +++ b/chromeos/tpm_token_loader.cc
|
| @@ -140,8 +140,10 @@ void TPMTokenLoader::MaybeStartTokenInitialization() {
|
| tpm_token_state_ = TPM_DISABLED;
|
|
|
| // Treat TPM as disabled for guest users since they do not store certs.
|
| - if (LoginState::Get()->IsGuestUser())
|
| + if (LoginState::Get()->IsGuestSessionUser() ||
|
| + LoginState::Get()->IsPublicSessionUser()) {
|
| tpm_token_state_ = TPM_DISABLED;
|
| + }
|
|
|
| ContinueTokenInitialization();
|
|
|
|
|