commit 61f4737c18e1d42e3836d24a6838286ca182091a
parent 36a04696deb9fb880e2d0a8f6b53a27368336d15
Author: Micah Killoran <mtigley@mozilla.com>
Date: Wed, 17 Dec 2025 16:28:33 +0000
Bug 2001374 - Add settings control for allowing Windows SSO to Passwords section. r=dimi,hjones
Differential Revision: https://phabricator.services.mozilla.com/D276551
Diffstat:
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js
@@ -2805,6 +2805,11 @@ SettingGroupManager.registerGroups({
l10nId: "forms-os-reauth",
},
{
+ id: "allowWindowSSO",
+ l10nId: "forms-windows-sso",
+ supportPage: "windows-sso",
+ },
+ {
id: "manageSavedPasswords",
l10nId: "forms-saved-passwords-2",
control: "moz-box-link",
diff --git a/browser/components/preferences/privacy.js b/browser/components/preferences/privacy.js
@@ -686,6 +686,12 @@ Preferences.addSetting({
});
Preferences.addSetting({
+ id: "allowWindowSSO",
+ pref: "network.http.windows-sso.enabled",
+ visible: () => AppConstants.platform === "win",
+});
+
+Preferences.addSetting({
id: "manageSavedPasswords",
onUserClick: ({ target }) => {
target.ownerGlobal.gPrivacyPane.showPasswords();