mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
add link back to home page in recovery page
This commit is contained in:
parent
5d61d5b31b
commit
f17608df50
|
@ -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 %}
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue