Add 'AnEmailToResetYourPasswordHasBeenSent' message after password reset

BT#17022
pull/3178/head
Julio Montoya 6 years ago
parent a4c7f291e1
commit 8790c8ed1c
  1. 5
      main/inc/lib/login.lib.php
  2. 1
      main/lang/english/trad4all.inc.php
  3. 1
      main/lang/french/trad4all.inc.php
  4. 1
      main/lang/spanish/trad4all.inc.php

@ -192,7 +192,12 @@ class Login
);
if ($result == 1) {
$passwordEncryption = api_get_configuration_value('password_encryption');
if ($passwordEncryption === 'none') {
return get_lang('YourPasswordHasBeenEmailed');
}
return get_lang('AnEmailToResetYourPasswordHasBeenSent');
} else {
$admin_email = Display:: encrypted_mailto_link(
api_get_setting('emailAdministrator'),

@ -8484,4 +8484,5 @@ $ReducedReport = "Reduced report";
$NotInCourse = "Outside courses";
$LearnpathCategory = "Learnpaths category";
$MailTemplates = "Mail templates";
$AnEmailToResetYourPasswordHasBeenSent = "An email to reset your password has been sent.";
?>

@ -8416,4 +8416,5 @@ $ReducedReport = "Rapport réduit";
$NotInCourse = "En dehors des cours";
$LearnpathCategory = "Catégorie de parcours";
$MailTemplates = "Modèles de courriels";
$AnEmailToResetYourPasswordHasBeenSent = "Un mail pour réinitialiser votre mot de passe vous a été envoyé.";
?>

@ -8512,4 +8512,5 @@ $ReducedReport = "Reporte reducido";
$NotInCourse = "Fuera de cursos";
$LearnpathCategory = "Categoría de lecciones";
$MailTemplates = "Plantillas de correos";
$AnEmailToResetYourPasswordHasBeenSent = "Se le ha enviado un correo electrónico para restablecer su contraseña.";
?>
Loading…
Cancel
Save