From cc43e5d39e61193bc03aeec9c8f5ec408dcf8dc8 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Mon, 2 Mar 2015 10:02:13 +1100 Subject: [PATCH] Bug 1137459 - avoid sensitive information in the FxA logs. r=ckarlof --- services/fxaccounts/FxAccounts.jsm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/fxaccounts/FxAccounts.jsm b/services/fxaccounts/FxAccounts.jsm index 5dbe348b0f3..58cbf1189a2 100644 --- a/services/fxaccounts/FxAccounts.jsm +++ b/services/fxaccounts/FxAccounts.jsm @@ -748,7 +748,11 @@ FxAccountsInternal.prototype = { }, startVerifiedCheck: function(data) { - log.debug("startVerifiedCheck " + JSON.stringify(data)); + log.debug("startVerifiedCheck", data && data.verified); + if (logPII) { + log.debug("startVerifiedCheck with user data", data); + } + // Get us to the verified state, then get the keys. This returns a promise // that will fire when we are completely ready. //