mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 07:35:22 +00:00
generate PNG for qr code for email compatibility.
This commit is contained in:
parent
51b12a8dec
commit
ea409ca863
1 changed files with 3 additions and 1 deletions
|
@ -5,3 +5,5 @@ Scan this QR code to get OTP for account '{{ user }}'
|
|||
{% endblocktrans %}
|
||||
<br>
|
||||
{% 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" %}
|
||||
|
|
Loading…
Reference in a new issue