[gnome-shell/wip/rstrode/rhel-8.0.0: 7/50] gdm: update default service when smartcard inserted



commit 53f1d46fb5437ebda0ff2452fb1c82e4e4b8a863
Author: Ray Strode <rstrode redhat com>
Date:   Mon Sep 28 19:57:36 2015 -0400

    gdm: update default service when smartcard inserted
    
    Early on at start up we may not know if a smartcard is
    available.  Make sure we reupdate the default service
    after we get a smartcard insertion event.

 js/gdm/util.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 3d6d69c10..f5f9d5e5d 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -335,6 +335,8 @@ var ShellUserVerifier = new Lang.Class({
             else if (this._preemptingService == SMARTCARD_SERVICE_NAME)
                 this._preemptingService = null;
 
+            this._updateDefaultService();
+
             this.emit('smartcard-status-changed');
         }
     },


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