From 0c6dc783a94becbc761be9281dbb4ba62c302667 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 14 Sep 2015 21:25:58 -0700 Subject: [PATCH] Fix TOTP url generation --- cmds/gen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/gen.nim b/cmds/gen.nim index a5408a2..68ed5b9 100644 --- a/cmds/gen.nim +++ b/cmds/gen.nim @@ -53,7 +53,7 @@ proc gen*(root: string, args: seq[string]) = quit getCurrentExceptionMsg() var - clienturl = parseURI "otpauth://totp/" / name / "?secret=" & encode res + clienturl = parseURI "otpauth://totp/" / name & "?secret=" & encode res discard execShellCmd "qrencode -t ansiutf8 '" & $clienturl & "'"