TOTP: fix recovery UI

This commit is contained in:
yflory 2023-05-15 17:39:11 +02:00
parent e893613b43
commit ea25adcf34

View file

@ -50,14 +50,11 @@ define([
};
var totpStepInfo = function (cls) {
$step1.hide();
$step2.hide();
$stepInfo.find('.alert').toggleClass('cp-hidden', true);
$stepInfo.find(cls).toggleClass('cp-hidden', false);
$stepInfo.show();
};
$step2.show(); // XXX debug
var addProof = function (blockKeys) {
var pub = blockKeys.sign.publicKey;
var sec = blockKeys.sign.secretKey;