From f902af5f3c5d9a60131700df512430503711c1f3 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Fri, 4 Oct 2002 03:39:46 +0000 Subject: [PATCH] bug 154824, stealth pref to override autocomplete=off, r=mstoltz, sr=dveditz git-svn-id: svn://10.0.0.236/trunk@131136 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/wallet/src/wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/extensions/wallet/src/wallet.cpp b/mozilla/extensions/wallet/src/wallet.cpp index b2b3a662959..564a90ba3db 100644 --- a/mozilla/extensions/wallet/src/wallet.cpp +++ b/mozilla/extensions/wallet/src/wallet.cpp @@ -3989,8 +3989,8 @@ WLLT_OnSubmit(nsIContent* currentForm, nsIDOMWindowInternal* window) { #define WALLET_DONT_CACHE_ALL_PASSWORDS #ifdef WALLET_DONT_CACHE_ALL_PASSWORDS // Do not store this form element if the 'autocomplete = off' attibute is present, - // unless both wallet encryption and 'wallet.crypto.autocompleteoverride' are enabled. - if (isPassword && !(SI_GetBoolPref(pref_Crypto, PR_FALSE) && SI_GetBoolPref(pref_AutoCompleteOverride, PR_FALSE))) { + // unless 'wallet.crypto.autocompleteoverride' is enabled. + if (isPassword && !SI_GetBoolPref(pref_AutoCompleteOverride, PR_FALSE)) { nsAutoString val; (void) inputElement->GetAttribute(NS_LITERAL_STRING("autocomplete"), val); if (val.EqualsIgnoreCase("off")) {