Index: chrome/browser/chromeos/login/existing_user_controller.cc |
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc |
index 4d56d77677a7a392f6e3fc34f745a6ab01567561..4a4d714a3e486fd1682fe70b4c14490d1d8bad42 100644 |
--- a/chrome/browser/chromeos/login/existing_user_controller.cc |
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc |
@@ -161,6 +161,10 @@ ExistingUserController::ExistingUserController(LoginDisplayHost* host) |
kAccountsPrefAllowGuest, |
base::Bind(&ExistingUserController::DeviceSettingsChanged, |
base::Unretained(this))); |
+ allow_supervised_user_subscription_ = cros_settings_->AddSettingsObserver( |
+ kAccountsPrefSupervisedUsersEnabled, |
+ base::Bind(&ExistingUserController::DeviceSettingsChanged, |
+ base::Unretained(this))); |
users_subscription_ = cros_settings_->AddSettingsObserver( |
kAccountsPrefUsers, |
base::Bind(&ExistingUserController::DeviceSettingsChanged, |