From 01c2313c167835c14f7209a5552b36f5748c4986 Mon Sep 17 00:00:00 2001 From: Umang Jain Date: Fri, 6 Dec 2019 15:09:58 +0530 Subject: [PATCH] gdm: Do not display "Password:" Label for gdm-password service The mockups do not mention the "Password:" above the password entry. Although preserve the label place-holder for question prompt other than PASSWORD_SERVICE_NAME. --- js/gdm/util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/gdm/util.js b/js/gdm/util.js index 824b301b9..9eee0bbe3 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -496,6 +496,8 @@ var ShellUserVerifier = class { // The only question asked by this service is "Token?" this.answerQuery(serviceName, this._oVirtCredentialsManager.getToken()); return; + } else if (serviceName == PASSWORD_SERVICE_NAME) { + secretQuestion = ''; } this.emit('ask-question', serviceName, secretQuestion, '\u25cf');