1
mirror of https://gitlab.com/jessieh/simple-shortener.git synced 2024-11-09 22:41:46 +00:00

Change QR printing format to UTF8 for compat.

This commit is contained in:
Jessie Hildebrandt 2021-12-21 01:41:57 -05:00
parent e3deae0113
commit 218092d2e9

View File

@ -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