{# # --------------------------------------------------------------------- # # GLPI - Gestionnaire Libre de Parc Informatique # # http://glpi-project.org # # @copyright 2015-2023 Teclib' and contributors. # @copyright 2003-2014 by the INDEPNET Development Team. # @licence https://www.gnu.org/licenses/gpl-3.0.html # # --------------------------------------------------------------------- # # LICENSE # # This file is part of GLPI. # # This program 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. # # This program 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 this program. If not, see . # # --------------------------------------------------------------------- #} {% extends 'layout/page_card_notlogged.html.twig' %} {% block content_block %} {% if token_ok is defined and token_ok == false %} {{ __('Your password reset request has expired or is invalid. Please renew it.') }} {% elseif messages_only is defined %} {{ include('components/messages_after_redirect_alerts.html.twig') }} {% else %}

{{ __('Forgotten password?') }}

{% if token is defined %}

{{ __('Please enter your new password.') }}

{% if config('use_password_security') %}

{{ __('Password security policy') }}

{% do call('Config::displayPasswordSecurityChecks') %}
{% endif %} {% set save_button = '' ~ __('Save new password') ~ '' %} {% else %}

{{ __('Please enter your email address. An email will be sent to you and you will be able to choose a new password.') }}

{% set save_button = '' ~ __('Send') ~ '' %} {% endif %} {% endif %} {% endblock %} {% block footer_block %} {{ __('Forget it,') }} {{ __('send me back') }} {{ __('to the login screen.') }} {% endblock %}