BUG 8829 PM 2.0 testing 16 Forgot Password genera un Fatal Error SOLVED.
- Cuando se configura el forgot password, no se aplica al hacer login en dicha ventana, es decir no se visualiza el link para enviar el otro password - Adjustment in the forgot password in send mail, encryption of password, and correction in the visualization of the forgot password link on the classic skin.
This commit is contained in:
@@ -3365,7 +3365,13 @@ $output = $outputHeader.$output;
|
||||
if (!$setup['MESS_ENABLED']) {
|
||||
return G::LoadTranslation('ID_EMAIL_ENGINE_IS_NOT_ENABLED');
|
||||
}
|
||||
|
||||
|
||||
$passwd = $setup['MESS_PASSWORD'];
|
||||
$passwdDec = G::decrypt($passwd,'EMAILENCRYPT');
|
||||
if (strpos( $passwdDec, 'hash:' ) !== false) {
|
||||
list($hash, $pass) = explode(":", $passwdDec);
|
||||
$setup['MESS_PASSWORD'] = $pass;
|
||||
}
|
||||
$mail = new PHPMailer(true);
|
||||
$mail->From = $from != '' && $from ? $from : $setup['MESS_ACCOUNT'];
|
||||
$mail->FromName = $fromName;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<JS type="javascript"><![CDATA[
|
||||
// enable/disable forgot password link
|
||||
if(flagForgotPassword == 'on' )
|
||||
if(flagForgotPassword == 'on' || flagForgotPassword == '1')
|
||||
document.getElementById("form[FORGOT_PASWORD_LINK]").style.display = 'block';//hideRowById('FORGOT_PASWORD_LINK');
|
||||
|
||||
var panel;
|
||||
|
||||
Reference in New Issue
Block a user