From 214440fde41e81b906f9807d83f92ba0e40cd238 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 29 Jul 2013 14:37:10 -0400 Subject: [PATCH] authPrompt: emit prompted when given a message Some pam modules prompt without expecting the user to type an answer back (e.g. "Please swipe finger"). We need to emit prompted in this case too, so the the dialog will get shown. https://bugzilla.gnome.org/show_bug.cgi?id=683437 --- js/gdm/authPrompt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 5456ee969..8e673c393 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -222,6 +222,7 @@ const AuthPrompt = new Lang.Class({ _onShowMessage: function(userVerifier, message, styleClass) { this.setMessage(message, styleClass); + this.emit('prompted'); }, _onVerificationFailed: function() {