Hello,
...
You can find how to install it at :
Extension Roundcube Modification du mot de passe email. - Le Blog de Philippe
It is in french but I think you will be able to see the files to be changed.
Philippe
Edit/Delete Message
Hello Philippe,
I've applied your patches according the description, but I have two problems..
First, my index.php totally differ from the one you've described. So I did the following modification to index.php:
'settings' => array(
'folders' => 'manage_folders.inc',
'create-folder' => 'manage_folders.inc',
'rename-folder' => 'manage_folders.inc',
'delete-folder' => 'manage_folders.inc',
'subscribe' => 'manage_folders.inc',
'unsubscribe' => 'manage_folders.inc',
'add-identity' => 'edit_identity.inc',
'passwd' => 'passwd.inc',
'save-passwd' => 'passwd.inc',
)
);
The remaining files were modified by following your tutorial. The first problem is that when I go to Settings, the tab "Password" appears fine, but I can't click on it. However when I enter ..&_action=passwd in the url bar, it correctly takes me to the password changing tab.
The other problem is that whenever I try to change my password, it tells me "Wrong original password" and I have no idea, why.
Actually, I have some, just can't fix on my own
The SQL for getting old pass is the following:
$DB->query('select password from mail.users where email=\''.$emailuser.'\'');
This SQL must be correct, since I have put $row['password'] to the page title for testing purposes and it selects the correct encoded password.
However if ($actualCryptedPassword != $row['password']) will alway be false since the passwords in the database are encoded to be 13 characters long somehow, but the generated actualCryptedPassword is much more longer.
How could I fix it? Btw I also think that for the same reaon, the update sql query also will be wrong, since set password=\''.md5($newpassword).'\' will do some wrong thing.. probably it will be password = ENCRYPT(".$new_password.") as described
here, however this doesn't helps me since that post doesn't descibe how to fix password verification.
Can you help me?