| Index: chrome/browser/ui/webui/profile_helper.cc
|
| diff --git a/chrome/browser/ui/webui/profile_helper.cc b/chrome/browser/ui/webui/profile_helper.cc
|
| index c5ce2de03ad4802860203ba5e38694bf61fef23b..2f4622fc9d7dcc7ec0a5116b72d6e39125883668 100644
|
| --- a/chrome/browser/ui/webui/profile_helper.cc
|
| +++ b/chrome/browser/ui/webui/profile_helper.cc
|
| @@ -43,7 +43,8 @@ void DeleteProfileCallback(std::unique_ptr<ScopedKeepAlive> keep_alive,
|
| } // namespace
|
|
|
| void OpenNewWindowForProfile(Profile* profile) {
|
| - if (signin::IsForceSigninEnabled()) {
|
| + if (signin::IsForceSigninEnabled() ||
|
| + profiles::IsProfileLocked(profile->GetPath())) {
|
| if (!UserManager::IsShowing()) {
|
| UserManager::Show(base::FilePath(), profiles::USER_MANAGER_NO_TUTORIAL,
|
| profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION);
|
|
|