|
|
|
|
@ -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'), |
|
|
|
|
|