From 7d5ce1a159e41c8f7e9208e5d586f5d6303e8cb5 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 13 Mar 2014 13:36:42 -0400 Subject: [PATCH] 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 --- js/ui/screenShield.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index b1e1e7f8f..f529e9aff 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -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); }));