Can not change email user password from roundcube

DaveD

New member
Joined
Jun 23, 2021
Messages
1
Can not change email user password from roundcube
Roundcube Webmail 1.4.11
When i change pwd from /?_task=settings&_action=plugin.password i receive " Successfully saved." but the actual password is still the old one.
No significant logs.
Starting directadmin with -b2000 (Debug mode. Level 2000) i get this:
Email::doEmailPasswordChange(do_ftp=0): received data:
FormCheck::isEmail((null)): blank or null email
 
It's a problem in /var/www/html/roundcube/plugins/password/drivers/directadmin.php when force_hostname is set in directadmin.conf, the password driver tries to redirect to the correct hostname but it will overwrite the parameters sent with an empty string, to avoid this edit /var/www/html/roundcube/plugins/password/drivers/directadmin.php and change line 194 from
PHP:
$content = $location['query'];
to
PHP:
if($content==''){ $content = $location['query']; }

and line 323 from
PHP:
$this->query($headers['location']);
to
PHP:
$this->query($headers['location'],$content);
 
Back
Top