mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-03 17:10:25 +08:00
Fix email forms to have externally available links
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<p>Your password has been changed.</p>
|
||||
{% if security.recoverable %}
|
||||
<p>If you did not change your password, <a href="{{ url_for_security('forgot_password') }}">click here to reset your password</a>.</p>
|
||||
<p>If you did not change your password, <a href="{{ url_for_security('forgot_password', _external=True) }}">click here to reset your password</a>.</p>
|
||||
{% endif %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user