{# # This file is part of MedShakeEHR. # # Copyright (c) 2020 # Bertrand Boutillier # http://www.medshake.net # # MedShakeEHR 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 # any later version. # # MedShakeEHR 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 MedShakeEHR. If not, see . #/ /## # Template > Public : procédure lost password, demande de l'email # # @author Bertrand Boutillier #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : mot de passe perdu{% endblock %} {% block jsEmbed %} {{ parent() }} $(document).ready(function() { $("#treatEmail").on("click", function(e) { e.preventDefault(); email = $('#email').val(); $.ajax({ url: urlBase + '/public/ajax/publicLostPasswordEmailTreat/', type: 'post', data: { email: email }, dataType: "html", success: function() { $('#emailConfirmSyntax').html(email); $('i.fa-lock').addClass('text-warning').removeClass('text-danger'); $('#emailAskForm').addClass('d-none'); $('#emailTreatConfirmation').removeClass('d-none'); }, error: function() { alert('Problème, rechargez la page !'); } }); }); }); {% endblock %} {% block body %}

Nous venons de faire tout notre possible !

Si nous avons trouvé l'adresse vous recevrez bientôt un mail.

Dans le cas contraire, merci de contacter l'administrateur du site.

Vous avez perdu votre mot de passe ?

Entrez votre adresse email dans le champ ci-dessous et validez !

{% endblock %}