mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-12 01:45:25 +00:00
views: fix corrupted qrcode image for 2FA
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
21dee08b4d
commit
71680cdb61
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
<p>
|
<p>
|
||||||
<img id="2faQrcode" class="hide-on-med-and-down" />
|
<img id="2faQrcode" class="hide-on-med-and-down" />
|
||||||
<script>
|
<script>
|
||||||
document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ qr_code }}');
|
document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ qr_code|raw }}');
|
||||||
</script>
|
</script>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<p>
|
<p>
|
||||||
<img id="2faQrcode" class="hide-on-med-and-down" />
|
<img id="2faQrcode" class="hide-on-med-and-down" />
|
||||||
<script>
|
<script>
|
||||||
document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ qr_code }}');
|
document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ qr_code|raw }}');
|
||||||
</script>
|
</script>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue