[gnome-shell/wip/smartcard: 11/16] gdmUtil: pave way for fingeprint to optionally be default auth service



commit b4ecf0af93c40dfc413c3cb2f67a6957937b936f
Author: Ray Strode <rstrode redhat com>
Date:   Mon Jul 29 14:23:45 2013 -0400

    gdmUtil: pave way for fingeprint to optionally be default auth service
    
    Currently, fingerprint authentication is always a secondary thing.
    If a user wants to swipe their finger when the computer is asking
    for a password, so be it.
    
    This commit paves the way for making fingerprint auth optionally
    be the main way to authenticate.  Currently there's no way to enable
    this, but in a future commit will honor
    
    enable-password-authentication=false
    
    in gsettings.

 js/gdm/util.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 6b1523d..cd8ae0b 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -373,11 +373,11 @@ 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 &&
             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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]