Index: chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js |
diff --git a/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js b/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js |
index c8095c5777f10da2932ba294234f234d96356a3d..caa1ee3270428270624be6d1929d3d65f897d59c 100644 |
--- a/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js |
+++ b/chrome/browser/resources/options/chromeos/kiosk_app_disable_bailout_confirm.js |
@@ -31,7 +31,9 @@ cr.define('options', function() { |
$('kiosk-disable-bailout-confirm-button').onclick = function(e) { |
OptionsPage.closeOverlay(); |
- Preferences.setBooleanPref(el.pref, true); |
+ Preferences.setBooleanPref( |
+ 'cros.accounts.deviceLocalAccountAutoLoginBailoutEnabled', |
+ false, true); |
}; |
$('kiosk-disable-bailout-cancel-button').onclick = this.handleCancel; |
}, |