Bug 1898884 - Disabling and hiding the OS Authentication checkboxes when "security.nocertdb" is true. r=Gijs,settings-reviewers,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D212744
This commit is contained in:
@@ -3071,7 +3071,10 @@ var gPrivacyPane = {
|
||||
|
||||
_initOSAuthentication() {
|
||||
let osReauthCheckbox = document.getElementById("osReauthCheckbox");
|
||||
if (!OSKeyStore.canReauth()) {
|
||||
if (
|
||||
!OSKeyStore.canReauth() ||
|
||||
Services.prefs.getBoolPref("security.nocertdb", false)
|
||||
) {
|
||||
osReauthCheckbox.hidden = true;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user