mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Implementation of the new_password endpoint.
Found a way to create the token that does not need to persist it to the database. This requires proper error messages, written by people who speak menglis good.
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% set global_header_text = "GOV.UK Notify" %}
|
||||
|
||||
|
||||
@@ -53,9 +54,20 @@
|
||||
{% endif %}
|
||||
|
||||
{% block content %}
|
||||
<main id="content" role="main" class="page-container">
|
||||
<main id="content" role="main" class="page-container">
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
<div class="error-summary">
|
||||
<ul>
|
||||
{% for message in messages %}
|
||||
<li>{{ message }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% block fullwidth_content %}{% endblock %}
|
||||
</main>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
||||
{% block body_end %}
|
||||
|
||||
Reference in New Issue
Block a user