cancelChalResp

This commit is contained in:
antelle 2020-05-31 13:06:36 +02:00
parent 3c47adbf32
commit b520c58ef4
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -262,6 +262,10 @@ const YubiKey = {
}
callback(null, response);
});
},
cancelChalResp() {
this.ykChalResp.cancelChallengeResponse();
}
};