We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b639186 commit 47c71d7Copy full SHA for 47c71d7
1 file changed
src/ui/qr.ts
@@ -19,6 +19,9 @@ async function getQrUrl(entry: OTPEntry) {
19
(entry.issuer ? ('&issuer=' + entry.issuer.split('::')[0]) : '') +
20
((entry.type === OTPType.hotp || entry.type === OTPType.hhex) ?
21
('&counter=' + entry.counter) :
22
+ '') +
23
+ (entry.type === OTPType.totp && entry.period ?
24
+ ('&period=' + entry.period) :
25
'');
26
/* tslint:disable-next-line:no-unused-expression */
27
new QRCode(
0 commit comments