Add change password button with link to dashboard.

This commit is contained in:
george 2022-01-20 15:40:28 +00:00
parent 6d736aa915
commit 6b4d276ffe
No known key found for this signature in database
GPG Key ID: D30164B91DE6EEE3
3 changed files with 9 additions and 6 deletions

View File

@ -209,7 +209,7 @@
<!-- END Change email -->
<!-- Change password -->
<div class="card">
<div class="card" id="change_password">
<div class="card-body">
<div class="card-title">
Password

View File

@ -2,9 +2,11 @@
{% block content %}
{{ render_text("There has been an unsuccessful login attempt on your SimpleLogin account.") }}
{{ render_text("An invalid TOTP code was provided. <b>The email and password were provided correctly.</b>") }}
{{ render_text("An invalid TOTP code was provided <b>but the email and password were provided correctly.</b>") }}
{{ render_text("This request was blocked. However, if this was <b>not</b> you, please <b>change your password immediately.</b>") }}
{{ render_text('Thanks, <br />SimpleLogin Team.') }}
{% endblock %}
{{ render_button("Change your password", URL ~ "/dashboard/setting#change_password") }}
{{ render_text('Thanks, <br />SimpleLogin Team.') }}
{{ raw_url(URL ~ "/dashboard/setting#change_password") }}
{% endblock %}

View File

@ -1,7 +1,8 @@
There has been an unsuccessful login attempt on your SimpleLogin account.
An invalid TOTP code was provided. The email and password were provided correctly.
An invalid TOTP code was provided but the email and password were provided correctly.
This request was blocked. However, if this was not you, please <b>change your password immediately.
This request was blocked. However, if this was not you, please change your password immediately.
{{URL}}/dashboard/setting#change_password
Thanks,
SimpleLogin Team.