2022-04-18 17:23:43 +00:00
|
|
|
{% extends "base_settings_page.html" %}
|
|
|
|
{% block content %}
|
|
|
|
|
2022-04-19 07:56:51 +00:00
|
|
|
<p>On this page you can configure a new Authenticator app. Please use the authenticator app to scan the QR code.</p>
|
|
|
|
|
|
|
|
<p>Note: if you have not an authenticator app yet, you might want to use
|
|
|
|
<a href="https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp" rel="noopener" target="_blank">FreeOTP
|
|
|
|
Authenticator</a> for example.</p>
|
|
|
|
|
|
|
|
<img src="data:image/png;base64,{{ qr_code }}" style="width: 150px; margin: 0px 20px;"/>
|
|
|
|
|
|
|
|
<p>If you can't scan the QrCode, please use the following parameters instead:</p>
|
|
|
|
<ul>
|
|
|
|
<li><strong>Account name:</strong> {{ account_name }}</li>
|
|
|
|
<li><strong>Secret key:</strong> {{ secret_key }}</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>Once you have scanned the QrCode, please generate a first QrCode and type it below:</p>
|
|
|
|
|
|
|
|
TODO : add form
|
2022-04-18 17:23:43 +00:00
|
|
|
|
|
|
|
{% endblock content %}
|