From 8338ca6d73a145198c3a7acfcd724e29563c45a2 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Sun, 17 Jul 2016 19:33:12 +0200 Subject: [PATCH] Include Length in Generated QR-Code --- qml/pages/QRPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/QRPage.qml b/qml/pages/QRPage.qml index 6552e23..fe7ac07 100644 --- a/qml/pages/QRPage.qml +++ b/qml/pages/QRPage.qml @@ -62,7 +62,7 @@ Page { var otpurl = ""; if (paramType == "TOTP") { if (paramLabel != "" && paramKey != "") - otpurl = "otpauth://totp/"+paramLabel+"?secret="+paramKey; + otpurl = "otpauth://totp/"+paramLabel+"?secret="+paramKey+"&digits="+paramLen; } else if (paramType == "HOTP") { if (paramLabel != "" && paramKey != "" && paramCounter > 0)