34 lines
1.5 KiB
Diff
34 lines
1.5 KiB
Diff
|
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||
|
Date: Wed, 11 Oct 2017 23:17:17 +0200
|
||
|
Subject: Do not store passwords by default
|
||
|
|
||
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||
|
Change-Id: Ib793c49a52b9eb1e58e85285a0fddfe05e49a60d
|
||
|
---
|
||
|
components/password_manager/core/browser/password_manager.cc | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/components/password_manager/core/browser/password_manager.cc b/components/password_manager/core/browser/password_manager.cc
|
||
|
--- a/components/password_manager/core/browser/password_manager.cc
|
||
|
+++ b/components/password_manager/core/browser/password_manager.cc
|
||
|
@@ -256,14 +256,14 @@ base::CallbackListSubscription AddSyncEnabledOrDisabledCallback(
|
||
|
void PasswordManager::RegisterProfilePrefs(
|
||
|
user_prefs::PrefRegistrySyncable* registry) {
|
||
|
registry->RegisterBooleanPref(
|
||
|
- prefs::kCredentialsEnableService, true,
|
||
|
+ prefs::kCredentialsEnableService, false,
|
||
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF);
|
||
|
#if BUILDFLAG(IS_IOS)
|
||
|
registry->RegisterBooleanPref(prefs::kCredentialProviderEnabledOnStartup,
|
||
|
false);
|
||
|
#endif
|
||
|
registry->RegisterBooleanPref(
|
||
|
- prefs::kCredentialsEnableAutosignin, true,
|
||
|
+ prefs::kCredentialsEnableAutosignin, false,
|
||
|
user_prefs::PrefRegistrySyncable::SYNCABLE_PRIORITY_PREF);
|
||
|
registry->RegisterStringPref(prefs::kSyncPasswordHash, std::string(),
|
||
|
PrefRegistry::NO_REGISTRATION_FLAGS);
|
||
|
--
|
||
|
2.40.1
|
||
|
|