Thanks Till for your help. It's good now.
Here is what I did:
In the config.php of the plugin change_sqlpass, I set the following variables as followed:
Code:
$csp_dsn = 'mysql://dbuser:dbuser_pass@localhost/ISPConfigDB';
where
dbuser is the user who has access to the ISPConfig database ISPConfigDB. Replace ISPConfigDB with the name of your ISPConfig database (dbispconfig by default) and
dbuser_pass with the user password.
Code:
$lookup_password_query = 'SELECT count(*) FROM mail_user WHERE email = "%1" AND password = %4';
where mail_user is the table used by ISPConfig3 and email and password are the columns in that table.
Code:
$password_update_queries = array('UPDATE mail_user SET password = %4 WHERE email = "%1"');
Code:
$password_encryption = 'MYSQLENCRYPT';
Till, I know you said to use MD5CRYPT but it did not work for me. When I used it, the password I enter on the change password form as my old password could not be matched with the one in the database.
Code:
$csp_salt_static = 'LEFT(password, 12)';
That worked for me.
Thanks.
Recent comments
1 day 6 hours ago
1 day 8 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 9 hours ago
2 days 19 hours ago
2 days 21 hours ago
3 days 5 hours ago
3 days 6 hours ago