mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-11 05:24:45 -05:00
Refuse password changes (and tell the user) if the notification email cannot be sent. Fixes #2892
This commit is contained in:
committed by
Dave Page
parent
2995d6e9c5
commit
35a5cf22d5
@@ -2,7 +2,7 @@
|
||||
{% block panel_title %}{{ _('Recover %(appname)s Password', appname=config.APP_NAME) }}{% endblock %}
|
||||
{% block panel_body %}
|
||||
<p>{{ _('Enter the email address for the user account you wish to recover the password for:') }}</p>
|
||||
<form action="{{ url_for_security('forgot_password') }}" method="POST" name="forgot_password_form">
|
||||
<form action="{{ url_for('browser.forgot_password') }}" method="POST" name="forgot_password_form">
|
||||
{{ forgot_password_form.hidden_tag() }}
|
||||
<fieldset>
|
||||
{{ render_field_with_errors(forgot_password_form.email, "text") }}
|
||||
|
||||
Reference in New Issue
Block a user