mirror of https://github.com/keeweb/keeweb
cancelChalResp
parent
3c47adbf32
commit
b520c58ef4
|
@ -72,6 +72,10 @@ const ChalRespCalculator = {
|
|||
touchAlert = this._showTouchAlert(params.serial, err => {
|
||||
touchAlert = null;
|
||||
userCanceled = true;
|
||||
|
||||
logger.info('YubiKey ChalResp canceled');
|
||||
YubiKey.cancelChalResp();
|
||||
|
||||
callback(err);
|
||||
});
|
||||
return;
|
||||
|
|
|
@ -262,6 +262,10 @@ const YubiKey = {
|
|||
}
|
||||
callback(null, response);
|
||||
});
|
||||
},
|
||||
|
||||
cancelChalResp() {
|
||||
this.ykChalResp.cancelChallengeResponse();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue