{% extends "account/base.html" %} {% comment %} samba2020 - Webpage for https://samba.ccns.sbg.ac.at Copyright (C) 2019-2021 Thomas Hartmann This file is part of samba2020. samba2020 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. samba2020 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with samba2020. If not, see . {% endcomment %} {% load i18n %} {% load crispy_forms_tags %} {% block head_title %}{% trans "Change Password" %}{% endblock %} {% block content %}

{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}

{% if token_fail %} {% url 'account_reset_password' as passwd_reset_url %}

{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %}

{% else %} {% if form %}
{% csrf_token %} {{ form|crispy }}
{% else %}

{% trans 'Your password is now changed.' %}

{% endif %} {% endif %} {% endblock %}