Roundcube password plugin
I can't get the roundcube 'password' plugin to work with cPanel. I modified the plugin's 'cpanel' driver so that the username is the full email address (otherwise it errors). It also failed on the existing password check but commenting that out in the code works for now (for testing just to see if I can get the rest to actually work). Now, even though it says the password change succeeds, the password is never changed. If anyone else has done this recently, any instructions or help would be appreciated! Thanks
-
Ignore the above, I've got it working now, it was a typo! For any one else that needs this, all I did to the roundcube password plugin was set $config['password_driver'> = 'cpanel' and $config['password_cpanel_host'> = 'server hostname'. Then in drivers/cpanel.php I changed from this $data = [ 'email' => password::username('%l'), 'password' => $newpass ]; to this $data = [ 'email' => password::username('%u'), 'password' => $newpass ]; 0 -
I'm glad you were able to get that working, and thanks for sharing the fix! 0
Please sign in to leave a comment.
Comments
2 comments