mirror of
https://gitlab.com/jessieh/simple-shortener.git
synced 2024-12-04 07:21:46 +00:00
Change QR printing format to UTF8 for compat.
This commit is contained in:
parent
e3deae0113
commit
218092d2e9
@ -36,7 +36,7 @@ Compares `password` to the current valid TOTP (generated with config.auth_secret
|
|||||||
(let [totp_url (totp:get_url "simple-shortener" "User")
|
(let [totp_url (totp:get_url "simple-shortener" "User")
|
||||||
qr (qrprinter.encode_string totp_url)]
|
qr (qrprinter.encode_string totp_url)]
|
||||||
(print "TOTP configuration:")
|
(print "TOTP configuration:")
|
||||||
(qrprinter.print_qr qr)))
|
(qrprinter.print_qr_utf8 qr)))
|
||||||
|
|
||||||
;; -------------------------------------------------------------------------- ;;
|
;; -------------------------------------------------------------------------- ;;
|
||||||
;; Return module
|
;; Return module
|
||||||
|
Loading…
Reference in New Issue
Block a user