screenShield: fix lifting when inserting smartcard
If a user inserts the smartcard they logged in with into the system, it's supposed to lift the shield and prompt for pin. That doesn't happen because the parameter list of the smartcard-inserted signal handler is wrong. This commit fixes that. https://bugzilla.gnome.org/show_bug.cgi?id=726262
This commit is contained in:
@ -537,7 +537,7 @@ const ScreenShield = new Lang.Class({
|
||||
|
||||
this._smartcardManager = SmartcardManager.getSmartcardManager();
|
||||
this._smartcardManager.connect('smartcard-inserted',
|
||||
Lang.bind(this, function(token) {
|
||||
Lang.bind(this, function(manager, token) {
|
||||
if (this._isLocked && token.UsedToLogin)
|
||||
this._liftShield(true, 0);
|
||||
}));
|
||||
|
Reference in New Issue
Block a user