screenShield: unblank when inserting smartcard
If a user inserts the smartcard when the screen is locked/blanked we should ask them their pin right away. At the moment they have to wiggle the mouse or do some other action to get the screen to unblank.
This commit is contained in:
parent
9a6054b6b7
commit
1e0ec69c41
@ -515,8 +515,10 @@ var ScreenShield = new Lang.Class({
|
||||
this._smartcardManager = SmartcardManager.getSmartcardManager();
|
||||
this._smartcardManager.connect('smartcard-inserted',
|
||||
(manager, token) => {
|
||||
if (this._isLocked && token.UsedToLogin)
|
||||
if (this._isLocked && token.UsedToLogin) {
|
||||
this._wakeUpScreen();
|
||||
this._liftShield(true, 0);
|
||||
}
|
||||
});
|
||||
|
||||
this._oVirtCredentialsManager = OVirt.getOVirtCredentialsManager();
|
||||
|
Loading…
Reference in New Issue
Block a user