mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-25 07:37:46 +02:00
cancelChalResp
This commit is contained in:
parent
3c47adbf32
commit
b520c58ef4
|
@ -72,6 +72,10 @@ const ChalRespCalculator = {
|
||||||
touchAlert = this._showTouchAlert(params.serial, err => {
|
touchAlert = this._showTouchAlert(params.serial, err => {
|
||||||
touchAlert = null;
|
touchAlert = null;
|
||||||
userCanceled = true;
|
userCanceled = true;
|
||||||
|
|
||||||
|
logger.info('YubiKey ChalResp canceled');
|
||||||
|
YubiKey.cancelChalResp();
|
||||||
|
|
||||||
callback(err);
|
callback(err);
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -262,6 +262,10 @@ const YubiKey = {
|
||||||
}
|
}
|
||||||
callback(null, response);
|
callback(null, response);
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
cancelChalResp() {
|
||||||
|
this.ykChalResp.cancelChallengeResponse();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user