forked from wallabag/wallabag
otp: show secret as plaintext if a user can't scan qrcode
Fixes #4818 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
@ -20,6 +20,10 @@
|
||||
document.getElementById('2faQrcode').src = jrQrcode.getQrBase64('{{ qr_code }}');
|
||||
</script>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ 'config.otp.app.two_factor_code_description_5'|trans }} <pre>{{ secret }}</pre>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>{{ 'config.otp.app.two_factor_code_description_3'|trans }}</p>
|
||||
|
||||
Reference in New Issue
Block a user