diff --git a/js/gdm/util.js b/js/gdm/util.js index 6b1523d09..24f3d18eb 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -373,17 +373,17 @@ const ShellUserVerifier = new Lang.Class({ }, _onInfo: function(client, serviceName, info) { - // We don't display fingerprint messages, because they - // have words like UPEK in them. Instead we use the messages - // as a cue to display our own message. - if (serviceName == FINGERPRINT_SERVICE_NAME && + if (this.serviceIsForeground(serviceName)) { + this._queueMessage(info, 'login-dialog-message-info'); + } else if (serviceName == FINGERPRINT_SERVICE_NAME && this._haveFingerprintReader) { + // We don't show fingeprint messages directly since it's + // not the main auth service. Instead we use the messages + // as a cue to display our own message. // Translators: this message is shown below the password entry field // to indicate the user can swipe their finger instead this.emit('show-login-hint', _("(or swipe finger)")); - } else if (this.serviceIsForeground(serviceName)) { - this._queueMessage(info, 'login-dialog-message-info'); } },