diff --git a/flask_security/templates/security/email/change_notice.html b/flask_security/templates/security/email/change_notice.html index 8280683..fdca72a 100644 --- a/flask_security/templates/security/email/change_notice.html +++ b/flask_security/templates/security/email/change_notice.html @@ -1,4 +1,4 @@
Your password has been changed.
{% if security.recoverable %} -If you did not change your password, click here to reset your password.
+If you did not change your password, click here to reset your password.
{% endif %} diff --git a/flask_security/templates/security/email/change_notice.txt b/flask_security/templates/security/email/change_notice.txt index df2d2d4..23b1084 100644 --- a/flask_security/templates/security/email/change_notice.txt +++ b/flask_security/templates/security/email/change_notice.txt @@ -1,5 +1,5 @@ Your password has been changed {% if security.recoverable %} If you did not change your password, click the link below to reset your password: -{{ url_for_security('forgot_password') }} +{{ url_for_security('forgot_password', _external=True) }} {% endif %}