mirror of
https://github.com/retspen/webvirtcloud
synced 2025-01-12 16:35:17 +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 %}
|
{% 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" %}
|
||||||
|
|
Loading…
Reference in a new issue