1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

generate PNG for qr code for email compatibility.

This commit is contained in:
catborise 2022-10-06 11:47:38 +03:00
parent 51b12a8dec
commit ea409ca863

View file

@ -4,4 +4,6 @@
Scan this QR code to get OTP for account '{{ user }}' Scan this QR code to get OTP for account '{{ user }}'
{% endblocktrans %} {% endblocktrans %}
<br> <br>
{% qr_from_text totp_url %} {% qr_from_text totp_url %}
<p class="small">{% trans 'Some e-mail clients does not render SVG, also generating PNG.' %}</p>
{% qr_from_text totp_url size="s" image_format="png" error_correction="M" %}