Current time: 11-22-2024, 10:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
PWD Changer @RC7 and Rouncube 0.2 Stable
Author Message
Viktor Offline
Junior Member
*

Posts: 118
Joined: Nov 2006
Reputation: 1
Post: #12
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
(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.WinkWinkWinkWink

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
02-26-2009 08:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PWD Changer @RC7 and Rouncube 0.2 Stable - Viktor - 02-26-2009 08:54 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)