Hello,
I have installed roundcube 0.7.2 success, and I have enabled password plugin with cpanel driver.
I reset password and have successfully confirm changed.
when I login with new password in login page, the password is incorrect. and old password is corrected.
PHow to fix this?? Please help.
Thank you
Regards
crayon
Did you setup the cPanel options in the password plugin configuration file?
Yes I have config like bellow:
$rcmail_config['password_driver'] = 'cpanel';
// cPanel Driver options
// --------------------------
// The cPanel Host name
$rcmail_config['password_cpanel_host'] = 'mydomain.com';
// The cPanel admin username
$rcmail_config['password_cpanel_username'] = 'my-cpanel-user';
// The cPanel admin password
$rcmail_config['password_cpanel_password'] = 'my-cpanel-password';
// The cPanel port to use
$rcmail_config['password_cpanel_port'] = 2096;
// Using ssl for cPanel connections?
$rcmail_config['password_cpanel_ssl'] = true;
// The cPanel theme in use
$rcmail_config['password_cpanel_theme'] = 'x3';
and in /config/main.inc.php
$rcmail_config['plugins'] = array('password');
Please advice.
Thank you for your help.
Regards,
crayon
Is your cPanel in English?
Yes.. we using english
Ok so to confirm you setup the cPanel driver, cPanel is set to english and when you save the password it says it saved successfully but the password hasn't changed?
yes, saved successfully but the password hasn't changed
Regards,
crayon
OK in the file <RC root>/plugins/password/drivers/cpanel.php find the following:
$response = $this->HTTP->getData('mail/dopasswdpop.html', $data);
Add add after it:
die($response);
Then change the password and post what it returns.
Dear,
I have getting error :
HTTP/1.1 200 OK Server: cpsrvd/11.32.2.25 Connection: close Date: Tue, 22 May 2012 08:30:52 GMT Last-Modified: Fri, 18 May 2012 07:44:36 GMT Content-type: text/html; charset="utf-8" Content-length: 1803 Connection: close
function setPassword($password)
{
$data['email'] = $this->email;
$data['domain'] = $this->domain;
$data['password'] = $password;
$response = $this->HTTP->getData('mail/dopasswdpop.html', $data);
die($response);
if(strpos($response, 'success') && !strpos($response, 'failure'))
{
return true;
}
return false;
}