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:
@@ -3366,6 +3366,12 @@ $output = $outputHeader.$output;
|
|||||||
return G::LoadTranslation('ID_EMAIL_ENGINE_IS_NOT_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 = new PHPMailer(true);
|
||||||
$mail->From = $from != '' && $from ? $from : $setup['MESS_ACCOUNT'];
|
$mail->From = $from != '' && $from ? $from : $setup['MESS_ACCOUNT'];
|
||||||
$mail->FromName = $fromName;
|
$mail->FromName = $fromName;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<JS type="javascript"><![CDATA[
|
<JS type="javascript"><![CDATA[
|
||||||
// enable/disable forgot password link
|
// 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');
|
document.getElementById("form[FORGOT_PASWORD_LINK]").style.display = 'block';//hideRowById('FORGOT_PASWORD_LINK');
|
||||||
|
|
||||||
var panel;
|
var panel;
|
||||||
|
|||||||
Reference in New Issue
Block a user