[gnome-shell/wip/rstrode/rhel-7.9: 8/86] gdm: update default service when smartcard inserted




commit 07f3bfb94f318c6b4042038c4f7c33376e92dbfe
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 3d6d69c102..f5f9d5e5d4 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]