[gnome-shell/wip/smartcard: 12/16] authPrompt: emit prompted when given a message
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/smartcard: 12/16] authPrompt: emit prompted when given a message
- Date: Mon, 29 Jul 2013 21:37:27 +0000 (UTC)
commit 9e8f6abd14c65f93fa2fe46e3b13fcfdfed8d69c
Author: Ray Strode <rstrode redhat com>
Date: Mon Jul 29 14:37:10 2013 -0400
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.
js/gdm/authPrompt.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index 5456ee9..8e673c3 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() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]