Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
5c1b6a3d
Commit
5c1b6a3d
authored
6 years ago
by
Fredrik Jonsson
Browse files
Options
Downloads
Patches
Plain Diff
Improve the template for password reset form to alert users of invalid (old) links.
parent
3858f86b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
opentech/apply/users/templates/users/password_reset/confirm.html
+6
-1
6 additions, 1 deletion
...h/apply/users/templates/users/password_reset/confirm.html
with
6 additions
and
1 deletion
opentech/apply/users/templates/users/password_reset/confirm.html
+
6
−
1
View file @
5c1b6a3d
{% extends "base.html" %}
{% extends "base.html" %}
{% load i18n %}
{% load i18n %}
{% block header_modifier %}header--light-bg{% endblock %}
{% block header_modifier %}header--light-bg{% endblock %}
{% block page_title %}
Set your new password
{% endblock %}
{% block page_title %}
{{ title }}
{% endblock %}
{% block content %}
{% block content %}
<div
class=
"wrapper wrapper--small wrapper--bottom-space"
>
<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
>
<form
class=
"form"
method=
"post"
novalidate
>
{% if form.non_field_errors %}
{% if form.non_field_errors %}
<ul
class=
"errorlist"
>
<ul
class=
"errorlist"
>
...
@@ -31,5 +33,8 @@
...
@@ -31,5 +33,8 @@
<button
class=
"link link--button-secondary"
type=
"submit"
>
{% trans 'Reset password' %}
</button>
<button
class=
"link link--button-secondary"
type=
"submit"
>
{% trans 'Reset password' %}
</button>
</form>
</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>
</div>
{% endblock %}
{% endblock %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment