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.
This commit is contained in:
Umang Jain 2019-12-06 15:09:58 +05:30
parent 92b57ee992
commit 01c2313c16

View File

@ -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');