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.
This commit is contained in:
Ray Strode 2015-09-28 19:57:36 -04:00
parent 04d526e9f5
commit 53f1d46fb5

View File

@ -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');
}
},