Commit 3591c05e authored by xiyuan's avatar xiyuan Committed by Commit bot

signin: Remove username from logs.

BUG=482029

Review URL: https://codereview.chromium.org/1107223003

Cr-Commit-Position: refs/heads/master@{#327566}
parent 9b85081a
...@@ -2435,8 +2435,7 @@ cr.define('login', function() { ...@@ -2435,8 +2435,7 @@ cr.define('login', function() {
showUserPodCustomIcon: function(username, icon) { showUserPodCustomIcon: function(username, icon) {
var pod = this.getPodWithUsername_(username); var pod = this.getPodWithUsername_(username);
if (pod == null) { if (pod == null) {
console.error('Unable to show user pod button for ' + username + console.error('Unable to show user pod button: user pod not found.');
': user pod not found.');
return; return;
} }
...@@ -2498,8 +2497,7 @@ cr.define('login', function() { ...@@ -2498,8 +2497,7 @@ cr.define('login', function() {
hideUserPodCustomIcon: function(username) { hideUserPodCustomIcon: function(username) {
var pod = this.getPodWithUsername_(username); var pod = this.getPodWithUsername_(username);
if (pod == null) { if (pod == null) {
console.error('Unable to hide user pod button for ' + username + console.error('Unable to hide user pod button: user pod not found.');
': user pod not found.');
return; return;
} }
...@@ -2517,8 +2515,7 @@ cr.define('login', function() { ...@@ -2517,8 +2515,7 @@ cr.define('login', function() {
setAuthType: function(username, authType, value) { setAuthType: function(username, authType, value) {
var pod = this.getPodWithUsername_(username); var pod = this.getPodWithUsername_(username);
if (pod == null) { if (pod == null) {
console.error('Unable to set auth type for ' + username + console.error('Unable to set auth type: user pod not found.');
': user pod not found.');
return; return;
} }
pod.setAuthType(authType, value); pod.setAuthType(authType, value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment