Skip to content
Snippets Groups Projects
Unverified Commit bb8bbc75 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #1134 from OpenTechFund/fix/alert-invalid-password-reset-link

Improve the template for password reset form to alert users of invali…
parents 3858f86b 5c1b6a3d
No related branches found
No related tags found
No related merge requests found
{% extends "base.html" %}
{% load i18n %}
{% block header_modifier %}header--light-bg{% endblock %}
{% block page_title %}Set your new password{% endblock %}
{% block page_title %}{{ title }}{% endblock %}
{% block content %}
<div class="wrapper wrapper--small wrapper--bottom-space">
{% if validlink %}
<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
<form class="form" method="post" novalidate>
{% if form.non_field_errors %}
<ul class="errorlist">
......@@ -31,5 +33,8 @@
<button class="link link--button-secondary" type="submit">{% trans 'Reset password' %}</button>
</form>
{% else %}
<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
{% endif %}
</div>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment