|
|
f3cbb9 |
From c9fc0a860acccb8f28a76c349a839d98cf83cf7b Mon Sep 17 00:00:00 2001
|
|
|
580c05 |
From: Ray Strode <rstrode@redhat.com>
|
|
|
580c05 |
Date: Fri, 3 Jul 2015 13:54:36 -0400
|
|
|
580c05 |
Subject: [PATCH] screenShield: unblank when inserting smartcard
|
|
|
580c05 |
|
|
|
580c05 |
If a user inserts the smartcard when the screen is locked/blanked
|
|
|
580c05 |
we should ask them their pin right away.
|
|
|
580c05 |
|
|
|
580c05 |
At the moment they have to wiggle the mouse or do some other
|
|
|
580c05 |
action to get the screen to unblank.
|
|
|
580c05 |
---
|
|
|
580c05 |
js/ui/screenShield.js | 4 +++-
|
|
|
580c05 |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
580c05 |
|
|
|
580c05 |
diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js
|
|
|
f3cbb9 |
index 8918910f8..3d55375b0 100644
|
|
|
580c05 |
--- a/js/ui/screenShield.js
|
|
|
580c05 |
+++ b/js/ui/screenShield.js
|
|
|
f3cbb9 |
@@ -513,8 +513,10 @@ const ScreenShield = new Lang.Class({
|
|
|
580c05 |
this._smartcardManager = SmartcardManager.getSmartcardManager();
|
|
|
580c05 |
this._smartcardManager.connect('smartcard-inserted',
|
|
|
580c05 |
Lang.bind(this, function(manager, token) {
|
|
|
580c05 |
- if (this._isLocked && token.UsedToLogin)
|
|
|
580c05 |
+ if (this._isLocked && token.UsedToLogin) {
|
|
|
580c05 |
+ this._wakeUpScreen();
|
|
|
580c05 |
this._liftShield(true, 0);
|
|
|
580c05 |
+ }
|
|
|
580c05 |
}));
|
|
|
580c05 |
|
|
|
580c05 |
this._oVirtCredentialsManager = OVirt.getOVirtCredentialsManager();
|
|
|
580c05 |
--
|
|
|
f3cbb9 |
2.12.0
|
|
|
580c05 |
|