Index: ui/login/account_picker/user_pod_row.js |
diff --git a/ui/login/account_picker/user_pod_row.js b/ui/login/account_picker/user_pod_row.js |
index dbf03e91657250ff9b917a4631318018737ffcf5..f8c27fc801639e71df354ae2356f63a6c15beccd 100644 |
--- a/ui/login/account_picker/user_pod_row.js |
+++ b/ui/login/account_picker/user_pod_row.js |
@@ -1127,6 +1127,10 @@ cr.define('login', function() { |
// Set the focus to the input element after showing/hiding pin keyboard. |
this.mainInput.focus(); |
+ |
+ // Change the password placeholder based on pin keyboard visibility. |
+ this.passwordElement.placeholder = loadTimeData.getString(visible ? |
+ 'pinKeyboardPlaceholderPinPassword' : 'passwordHint'); |
}, |
isPinShown: function() { |