{# # --------------------------------------------------------------------- # GLPI - Gestionnaire Libre de Parc Informatique # Copyright (C) 2015-2022 Teclib' and contributors. # # http://glpi-project.org # # based on GLPI - Gestionnaire Libre de Parc Informatique # Copyright (C) 2003-2014 by the INDEPNET Development Team. # # --------------------------------------------------------------------- # # LICENSE # # This file is part of GLPI. # # GLPI 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 2 of the License, or # (at your option) any later version. # # GLPI 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 GLPI. 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 %}