Fix TOTP url generation

This commit is contained in:
Christine Dodrill 2015-09-14 21:25:58 -07:00
parent efaf850cd9
commit 0c6dc783a9
1 changed files with 1 additions and 1 deletions

View File

@ -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 & "'"