View Single Post
  #8  
Old 31st January 2010, 15:12
rak rak is offline
Junior Member
 
Join Date: Jan 2010
Location: Hungary
Posts: 1
Thanks: 0
Thanked 2 Times in 1 Post
Default feedback

In roundcube/plugins/password/config.inc.php change code to this:

Code:
$rcmail_config['password_query'] = 'UPDATE mail_user SET password=%r WHERE email=%u LIMIT 1';
In roundcube/plugins/password/drivers/sql.php add a new macro (I added it after %o on line 90):

Code:
$sql = str_replace('%r', $db->quote(crypt($passwd,$_SESSION['username'])), $sql);
Worked for me, but only the crypt() function is used, so the format of the password wouldn't be "$1$lGr|wp|f$NU.MEUHPCGqBGIcDZSi321" anymore. Maybe somebody has a suggestion for the right macro ?!

Last edited by rak; 31st January 2010 at 15:46.
Reply With Quote