mirror of
https://github.com/retspen/webvirtcloud
synced 2024-10-31 19:44:16 +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
|
@ -4,4 +4,6 @@
|
|||
Scan this QR code to get OTP for account '{{ user }}'
|
||||
{% endblocktrans %}
|
||||
<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" %}
|
||||
|
|
Loading…
Reference in a new issue