kopia lustrzana https://github.com/viljoviitanen/freeotp-export
rodzic
a216b85570
commit
b987336323
|
@ -109,7 +109,7 @@ reader.onload = function(event) {
|
||||||
'period' : j['period'],
|
'period' : j['period'],
|
||||||
}
|
}
|
||||||
label = (j['issuerExt']) ? j['issuerExt']+':'+j['label'] : j['label'];
|
label = (j['issuerExt']) ? j['issuerExt']+':'+j['label'] : j['label'];
|
||||||
uri='otpauth://'+j['type'].toLowerCase()+'/'+encodeURIComponent(label)+'/?'+querydata(param);
|
uri='otpauth://'+j['type'].toLowerCase()+'/'+encodeURIComponent(label)+'?'+querydata(param);
|
||||||
console.log(uri);
|
console.log(uri);
|
||||||
document.getElementById("file").insertAdjacentHTML('afterend', '<p><div>'+name+'</div><div id="'+i+'"></div>' );
|
document.getElementById("file").insertAdjacentHTML('afterend', '<p><div>'+name+'</div><div id="'+i+'"></div>' );
|
||||||
new QRCode(document.getElementById(i),uri);
|
new QRCode(document.getElementById(i),uri);
|
||||||
|
|
Ładowanie…
Reference in New Issue