(02-26-2009 08:44 PM)Cube Wrote: Probably you still have this line:
Code:
$_SESSION['password'] = $RCMAIL->encrypt_passwd($_POST['_password']);
Remove it.
@Top44
Could you please update your howto: remove this line and make the changes at line 158/160 clearer
Hello,
now it is work.
Thank you.
Search:
Code:
// don't override these parameters
foreach ((array)$CONFIG['dont_override'] as $p)
$a_user_prefs[$p] = $CONFIG[$p];
After this add:
Code:
if (isset($_POST['_password']) && $_POST['_password']!="") {
$tmpPass = $_POST['_password'];
$tmpUser = $_SESSION['username'];
$encPass = encrypt_db_password($tmpPass);
mysql_query("UPDATE ispcp.mail_users SET mail_pass='$encPass', status='change' WHERE mail_addr='$tmpUser'") or die(mysql_error());
send_request();
}
Kind regards
Viktor