add link back to home page in recovery page

This commit is contained in:
Son NK 2020-08-05 12:28:20 +02:00
parent 5d61d5b31b
commit f17608df50
2 changed files with 10 additions and 1 deletions

View file

@ -9,7 +9,8 @@
<div class="card-body"> <div class="card-body">
<h1 class="h3">Recovery codes</h1> <h1 class="h3">Recovery codes</h1>
<p> <p>
In the event you lose access to your authenticator app you can use one of these recovery codes to gain access to your account again. In the event you lose access to your authenticator app you can use one of these recovery codes to gain access to
your account again.
Each code can only be used once, make sure to store them in a safe place. Each code can only be used once, make sure to store them in a safe place.
</p> </p>
@ -35,6 +36,11 @@
Warning: Generating new codes will invalidate the older ones. Warning: Generating new codes will invalidate the older ones.
</div> </div>
<hr>
<a href="{{ url_for('dashboard.index') }}" class="btn btn-primary btn-lg"> Back to the home page </a>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -166,7 +166,10 @@ def fake_data():
password="password", password="password",
activated=True, activated=True,
is_admin=True, is_admin=True,
enable_otp=False,
otp_secret="base32secret3232", otp_secret="base32secret3232",
intro_shown=True, intro_shown=True,
fido_uuid=None, fido_uuid=None,
) )