Hello team Cyberpanel,
Am a newbie to Cyberpanel and I’ve realized there was no option to change email password from the webmail interface. After some searches, I’ve installed the “Change Password” extension from SnappyMail admin interface. But unfortunately the password change form is not working.
Operating system: Ubuntu 22.04 LTS
CyberPanel version: 2.3
To Reproduce :
- Login to snappymail admin interface
- Click Extensions
- Find Change Password extension
- Click download icon
- Confirgure extension parameters as following under pdo section:
- set DSN to : mysql:host=localhost;dbname=cyberpanel;charset=utf8
- set User to : root
- set Password to : mariadb root password (cat /etc/cyberpanel/mysqlPassword)
- set Statement to : UPDATE e_users SET password = :newpass WHERE email = :email AND emailOwner_id = :domain
- set Encryption to : bcrypt
- set Encrypt prefix to : {CRYPT}
- Click Save
- Tick the box to enable the extension then logout from snappymail admin
- Login to an email account (snappymail)
- Click Parameters
- Click Password
- Type Current password, New one and confirm
- Click Save new password. At this point nothing happens. The button click make absolutely no effect. Have to hit it many times for the interface reload without any confirmation message
- Then u logout and try to login using the new password and u get an Authentication error
Expected behavior
The password should change effectively
Screenshots
I’ve would have like to share more screenshots but am limited
**Browsers used **
Chrome Version 130.0.6723.69
Firefox 133.0
Opera version 115.0.5322.68
Additional context
I reproduced the same on Almalinux 8 using Cyberpanel v2.3 also and I got the same result following this tutorial [TUTORIAL] How to allow your SnappyMail users to change their mailbox passwords
Any guidance will be appreciated.
Best regards